1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

Add backreferencing "test" :(

This commit is contained in:
Robert Krimen
2012-10-20 13:57:13 -07:00
parent cd4f36ce98
commit 2390419e97
3 changed files with 8 additions and 4 deletions

View File

@@ -1413,6 +1413,8 @@ Label '_' has already been declared
Unexpected token ILLEGAL
0:0:0
`)
test("/\\1/.source", "---\nInvalid regular expression: invalid escape sequence: `\\1`\n-:-:-")
}
func TestParseComment(t *testing.T) {