Skip to content

Commit 808960d

Browse files
author
Your Name
committed
1
1 parent c073ed3 commit 808960d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

utf8/valid_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ func TestValid(t *testing.T) {
105105
rangesToTest := [][]byteRange{
106106
{one(0x20), ascii, ascii, ascii},
107107

108-
{one(0x04), ascii, ascii, ascii},
109-
110108
// 2-byte sequences
111109
{one(0xC2)},
112110
{one(0xC2), ascii},
@@ -245,7 +243,6 @@ func check(t *testing.T, b []byte) {
245243

246244
expected = ascii.Valid(b)
247245
if v.IsASCII() != expected {
248-
t.Errorf("STRING(%q): %v", b, string(b))
249246
t.Errorf("Validate(%q) ascii valid: %v; want %v", string(b), !expected, expected)
250247
}
251248
}

0 commit comments

Comments
 (0)