diff options
author | Rob Pike <r@golang.org> | 2012-01-17 14:21:50 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2012-01-17 14:21:50 -0800 |
commit | 7585aa6ae591a7fecb806d230205f8d12d64c957 (patch) | |
tree | 5bbb1f4e6bf5ee66f295f013c14f5b6c8b35c6b0 /test/alias.go | |
parent | 3b87d68a07a5a5f324d40dfe13b6d725c4af2135 (diff) | |
download | go-7585aa6ae591a7fecb806d230205f8d12d64c957.tar.gz go-7585aa6ae591a7fecb806d230205f8d12d64c957.zip |
utf8.String: move to exp/utf8string.String
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5528115
Diffstat (limited to 'test/alias.go')
-rw-r--r-- | test/alias.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/alias.go b/test/alias.go index 410a44e6c0..639a9cabbb 100644 --- a/test/alias.go +++ b/test/alias.go @@ -7,7 +7,7 @@ package main // Test that error messages say what the source file says -// (uint8 vs byte). +// (uint8 vs byte, int32 vs. rune). import ( "fmt" @@ -29,7 +29,4 @@ func main() { ff.Format(fs, x) // ERROR "rune" utf8.RuneStart(x) // ERROR "byte" - - var s utf8.String - s.At(x) // ERROR "int" } |