Просмотр исходного кода

Use %q instead of '%s'

Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
Mariano Cano 2 лет назад
Родитель
Сommit
d0548f9ec9
1 измененных файлов с 1 добавлено и 1 удалено
  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
 }