We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3466e80 commit 1e9e1ebCopy full SHA for 1e9e1eb
pkg/parse/parse_test.go
@@ -271,23 +271,23 @@ func TestGetBuildOutput(t *testing.T) {
271
description: "hyphen",
272
input: "-",
273
output: define.BuildOutputOption{
274
- IsStdout: true,
+ Type: define.BuildOutputStdout,
275
},
276
277
{
278
description: "just-a-path",
279
input: "/tmp",
280
281
- IsDir: true,
282
- Path: "/tmp",
+ Type: define.BuildOutputLocalDir,
+ Path: "/tmp",
283
284
285
286
description: "normal-path",
287
input: "type=local,dest=/tmp",
288
289
290
291
292
293
}
0 commit comments