diff --git a/test/golden.out b/test/golden.out index 935e5be6e02..4ea3036e73d 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 1e725354b21..1b106cdadf0 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", ``,