(t *testing.T)
| 183 | } |
| 184 | |
| 185 | func TestParseTemplateData_missing(t *testing.T) { |
| 186 | tempDir := t.TempDir() |
| 187 | app := &cli.App{} |
| 188 | set := flag.NewFlagSet(t.Name(), 0) |
| 189 | set.String("set-file", filepath.Join(tempDir, "missing"), "") |
| 190 | |
| 191 | _, err := ParseTemplateData(cli.NewContext(app, set, nil)) |
| 192 | if err == nil { |
| 193 | t.Errorf("ParseTemplateData() error = %v, wantErr true", err) |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | func TestParseFingerprintFormat(t *testing.T) { |
| 198 | type args struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…