summaryrefslogtreecommitdiff
path: root/src/pkg/utf8/utf8_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/utf8/utf8_test.go')
-rw-r--r--src/pkg/utf8/utf8_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/utf8/utf8_test.go b/src/pkg/utf8/utf8_test.go
index 6684245d8..980a74b02 100644
--- a/src/pkg/utf8/utf8_test.go
+++ b/src/pkg/utf8/utf8_test.go
@@ -118,7 +118,7 @@ func TestDecodeRune(t *testing.T) {
}
rune, size = DecodeRune(b[0 : len(b)-1]);
if rune != RuneError || size != wantsize {
- t.Errorf("DecodeRune(%q) = 0x%04x, %d want 0x%04x, %d", b[0 : len(b)-1], rune, size, RuneError, wantsize)
+ t.Errorf("DecodeRune(%q) = 0x%04x, %d want 0x%04x, %d", b[0:len(b)-1], rune, size, RuneError, wantsize)
}
s = m.str[0 : len(m.str)-1];
rune, size = DecodeRuneInString(s);