1
0
mirror of https://github.com/golang/go synced 2024-11-25 10:07:56 -07:00

json: fix typo in scanner_test.go.

R=dsymonds
CC=golang-dev
https://golang.org/cl/5303092
This commit is contained in:
Nigel Tao 2011-11-02 18:03:45 +11:00
parent b43cf81c8c
commit 5e4e8f49c5

View File

@ -147,7 +147,7 @@ var indentErrorTests = []indentErrorTest{
{`{"X": "foo" "Y": "bar"}`, &SyntaxError{"invalid character '\"' after object key:value pair", 13}},
}
func TestIdentErrors(t *testing.T) {
func TestIndentErrors(t *testing.T) {
for i, tt := range indentErrorTests {
slice := make([]uint8, 0)
buf := bytes.NewBuffer(slice)