Переглянути джерело

TestBuildSquashParent: fix non-standard comparisson

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 6 роки тому
батько
коміт
32f1c65162
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      integration/build/build_squash_test.go

+ 1 - 1
integration/build/build_squash_test.go

@@ -100,7 +100,7 @@ func TestBuildSquashParent(t *testing.T) {
 	)
 	container.Run(ctx, t, client,
 		container.WithImage(name),
-		container.WithCmd("/bin/sh", "-c", `[ "$(echo $HELLO)" == "world" ]`),
+		container.WithCmd("/bin/sh", "-c", `[ "$(echo $HELLO)" = "world" ]`),
 	)
 
 	origHistory, err := client.ImageHistory(ctx, origID)