summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug102.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug102.go')
-rw-r--r--test/fixedbugs/bug102.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug102.go b/test/fixedbugs/bug102.go
index 58480974b..87ec65ee3 100644
--- a/test/fixedbugs/bug102.go
+++ b/test/fixedbugs/bug102.go
@@ -12,7 +12,7 @@ func main() {
if s != "" {
panic("bad convert")
}
- var b1 = [5]byte{'h', 'e', 'l', 'l', 'o'};
+ var b1 = [5]byte('h', 'e', 'l', 'l', 'o');
if string(b1) != "hello" {
panic("bad convert 1")
}