From cd17c8a95002b9b08533f20d0020b6472fbdbbe0 Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Fri, 24 Mar 2023 10:42:08 -0400 Subject: [PATCH] test: update error message Validation got improved in `compose-go` so the error message is slightly different. Signed-off-by: Milas Bowman --- pkg/e2e/build_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/e2e/build_test.go b/pkg/e2e/build_test.go index 0a17bcdb6..7fd419d4b 100644 --- a/pkg/e2e/build_test.go +++ b/pkg/e2e/build_test.go @@ -390,8 +390,8 @@ func TestBuildPlatformsStandardErrors(t *testing.T) { res := c.RunDockerComposeCmdNoCheck(t, "--project-directory", "fixtures/build-test/platforms", "-f", "fixtures/build-test/platforms/compose-service-platform-not-in-build-platforms.yaml", "build") res.Assert(t, icmd.Expected{ - ExitCode: 1, - Err: `service "platforms" build configuration does not support platform: linux/riscv64`, + ExitCode: 15, + Err: `service.build.platforms MUST include service.platform "linux/riscv64"`, }) })