Browse code

TestBuildSquashParent: fix non-standard comparisson

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 32f1c651623421ee1ac480b200d34025a74436bb)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/09/02 17:52:39
Showing 1 changed files
... ...
@@ -100,7 +100,7 @@ func TestBuildSquashParent(t *testing.T) {
100 100
 	)
101 101
 	container.Run(ctx, t, client,
102 102
 		container.WithImage(name),
103
-		container.WithCmd("/bin/sh", "-c", `[ "$(echo $HELLO)" == "world" ]`),
103
+		container.WithCmd("/bin/sh", "-c", `[ "$(echo $HELLO)" = "world" ]`),
104 104
 	)
105 105
 
106 106
 	origHistory, err := client.ImageHistory(ctx, origID)