Skip to content

Commit 43a3fe3

Browse files
author
Todd Wang
committed
textutil: Re-enable textutil test now that we're on go1.6
Change-Id: I95b6ecb01164e074ff5b3da5ec184e79fe9dd5c9
1 parent 9f43827 commit 43a3fe3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

textutil/utf8_test.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ func TestUTF8ChunkDecoder(t *testing.T) {
3535
{"\uFFFD", []rune{'\uFFFD'}, nil},
3636
{"a\uFFFDb", []rune{'a', '\uFFFD', 'b'}, nil},
3737
{"\x80", []rune{'\uFFFD'}, nil},
38-
// TODO(toddw): Enable the below line when we've switched to go1.6+. It
39-
// fails in go1.5 because of a bugfix that changed this behavior.
40-
// https://go-review.googlesource.com/#/c/16940/4/src/unicode/utf8/utf8.go@a142
41-
// {"\xFF", []rune{'\uFFFD'}, nil},
38+
{"\xFF", []rune{'\uFFFD'}, nil},
4239
{"a\x80b", []rune{'a', '\uFFFD', 'b'}, nil},
4340
{"a\xFFb", []rune{'a', '\uFFFD', 'b'}, nil},
4441
// Multi-byte full runes.

0 commit comments

Comments
 (0)