Browse code

Replace '%s' in diff tests

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

Jessica Frazelle authored on 2014/10/15 02:59:01
Showing 1 changed files
... ...
@@ -85,7 +85,7 @@ func TestDiffEnsureOnlyKmsgAndPtmx(t *testing.T) {
85 85
 
86 86
 	for _, line := range strings.Split(out, "\n") {
87 87
 		if line != "" && !expected[line] {
88
-			t.Errorf("'%s' is shown in the diff but shouldn't", line)
88
+			t.Errorf("%q is shown in the diff but shouldn't", line)
89 89
 		}
90 90
 	}
91 91