| commit | bafa7bc8edb89b209bd8029479915d1417901a86 | [log] [tgz] |
|---|---|---|
| author | David Symonds <dsymonds@golang.org> | Wed Jul 01 07:59:00 2015 +1000 |
| committer | David Symonds <dsymonds@golang.org> | Wed Jul 01 11:00:33 2015 +1000 |
| tree | aa8522acc56238a228b38b7f20804a0c3aa88601 | |
| parent | aece6fb931241ad332956db4f62798dfbea944b3 [diff] [blame] |
More accurately report text parsing failures for invalid strings.
diff --git a/proto/text_parser_test.go b/proto/text_parser_test.go index cfc0db6..0754b26 100644 --- a/proto/text_parser_test.go +++ b/proto/text_parser_test.go
@@ -152,7 +152,7 @@ // Bad quoted string { in: `inner: < host: "\0" >` + "\n", - err: `line 1.15: invalid quoted string "\0"`, + err: `line 1.15: invalid quoted string "\0": \0 requires 2 following digits`, }, // Number too large for int64