summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-06-06 17:08:31 -0700
committerRob Pike <r@golang.org>2008-06-06 17:08:31 -0700
commitc412f74181cf4b85ad6b0c15e2768e5b306d7193 (patch)
tree29332bab4a038f1aa8d02fd21e47371fb83baeac
parent5eefc84ab78188006c7093816c3c263307c3e92f (diff)
downloadgolang-c412f74181cf4b85ad6b0c15e2768e5b306d7193.tar.gz
fix erroneous test
SVN=121554
-rw-r--r--test/golden.out1
-rw-r--r--test/string_lit.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/test/golden.out b/test/golden.out
index 935e5be6e..4ea3036e7 100644
--- a/test/golden.out
+++ b/test/golden.out
@@ -53,7 +53,6 @@ BUG: known to fail incorrectly
=========== ./string_lit.go
string_lit.go:5: syntax error
string_lit.go:12: unknown escape sequence: \
-string_lit.go:12: unknown escape sequence: '
BUG: known to fail incorrectly
=========== ./switch.go
diff --git a/test/string_lit.go b/test/string_lit.go
index 1e725354b..1b106cdad 100644
--- a/test/string_lit.go
+++ b/test/string_lit.go
@@ -14,7 +14,7 @@ func main() {
"a",
"ä",
"本",
- "\a\b\f\n\r\t\v\\\'\"",
+ "\a\b\f\n\r\t\v\\\"",
"\000\123\x00\xca\xFE\u0123\ubabe\U0123ABCD\Ucafebabe",
``,