mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
test: update error message
Validation got improved in `compose-go` so the error message is slightly different. Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
parent
a6ffdf6110
commit
cd17c8a950
@ -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"`,
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user