Browse code

Replace '%s' in create tests

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)

Jessica Frazelle authored on 2014/10/15 02:58:35
Showing 1 changed files
... ...
@@ -107,7 +107,7 @@ func TestCreateEchoStdout(t *testing.T) {
107 107
 	errorOut(err, t, out)
108 108
 
109 109
 	if out != "test123\n" {
110
-		t.Errorf("container should've printed 'test123', got '%s'", out)
110
+		t.Errorf("container should've printed 'test123', got %q", out)
111 111
 	}
112 112
 
113 113
 	deleteAllContainers()