@@ -18,23 +18,23 @@ func TestErrorPosition(t *testing.T) {
1818 tests := []struct {
1919 test , err string
2020 }{
21- {"array/missing-separator-2 .toml" , `
21+ {"array/missing-separator-02 .toml" , `
2222toml: error: expected a comma (',') or array terminator (']'), but got '2'
2323
2424At line 1, column 13:
2525
2626 1 | wrong = [ 1 2 3 ]
2727 ^` },
2828
29- {"array/no-close-1 .toml" , `
29+ {"array/no-close-01 .toml" , `
3030toml: error: expected a comma (',') or array terminator (']'), but got end of file
3131
32- At line 1, column 23 :
32+ At line 1, column 24 :
3333
34- 1 | no-close-1 = [ 1, 2, 3
35- ^` },
34+ 1 | no-close-01 = [ 1, 2, 3
35+ ^` },
3636
37- {"array/tables-2 .toml" , `
37+ {"array/tables-02 .toml" , `
3838toml: error: Key 'fruit.variety' has already been defined.
3939
4040At line 9, column 4-8:
@@ -52,15 +52,15 @@ At line 2, column 5-15:
5252 2 | d = 2006-01-30T
5353 ^^^^^^^^^^^` },
5454
55- {"key/without-value-1 .toml" , `
55+ {"key/without-value-01 .toml" , `
5656toml: error: expected '.' or '=', but got '\n' instead
5757
5858At line 1, column 4:
5959
6060 1 | key
6161 ^` },
6262 // Position looks wonky, but test has trailing space, so it's correct.
63- {"key/without-value-2 .toml" , `
63+ {"key/without-value-02 .toml" , `
6464toml: error: expected value but found '\n' instead
6565
6666At line 1, column 7:
0 commit comments