- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestUnquoteInvalidUTF8 (0.19 sec)
-
src/strconv/quote_test.go
testUnquote(t, tt.out, tt.in, nil) } for _, s := range misquoted { testUnquote(t, s, "", ErrSyntax) } } // Issue 23685: invalid UTF-8 should not go through the fast path. func TestUnquoteInvalidUTF8(t *testing.T) { tests := []struct { in string // one of: want string wantErr error }{ {in: `"foo"`, want: "foo"}, {in: `"foo`, wantErr: ErrSyntax},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 9.6K bytes - Viewed (0)