Skip to content

Commit cd17c8a

Browse files
committed
test: update error message
Validation got improved in `compose-go` so the error message is slightly different. Signed-off-by: Milas Bowman <[email protected]>
1 parent a6ffdf6 commit cd17c8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/e2e/build_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ func TestBuildPlatformsStandardErrors(t *testing.T) {
390390
res := c.RunDockerComposeCmdNoCheck(t, "--project-directory", "fixtures/build-test/platforms",
391391
"-f", "fixtures/build-test/platforms/compose-service-platform-not-in-build-platforms.yaml", "build")
392392
res.Assert(t, icmd.Expected{
393-
ExitCode: 1,
394-
Err: `service "platforms" build configuration does not support platform: linux/riscv64`,
393+
ExitCode: 15,
394+
Err: `service.build.platforms MUST include service.platform "linux/riscv64"`,
395395
})
396396
})
397397

0 commit comments

Comments
 (0)