Explorar el Código

Use %q instead of '%s'

Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
Mariano Cano hace 2 años
padre
commit
d0548f9ec9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      authority/tls_test.go

+ 1 - 1
authority/tls_test.go

@@ -229,7 +229,7 @@ func assertHasPrefix(t *testing.T, s, p string) bool {
 		return true
 	}
 	t.Helper()
-	t.Errorf("'%s' is not a prefix of '%s'", p, s)
+	t.Errorf("%q is not a prefix of %q", p, s)
 	return false
 }