parser_test.go: did not show the correct section name
This commit is contained in:
parent
99e0190b9c
commit
c3198e4c79
@ -177,7 +177,7 @@ func parserTest(t *testing.T, section string, inputs []inputType) {
|
|||||||
ctx := NewSimpleFuncStore()
|
ctx := NewSimpleFuncStore()
|
||||||
parser := NewParser(ctx)
|
parser := NewParser(ctx)
|
||||||
|
|
||||||
logTest(t, i+1, "Iterator", input.source, input.wantResult, input.wantErr)
|
logTest(t, i+1, section, input.source, input.wantResult, input.wantErr)
|
||||||
|
|
||||||
r := strings.NewReader(input.source)
|
r := strings.NewReader(input.source)
|
||||||
scanner := NewScanner(r, DefaultTranslations())
|
scanner := NewScanner(r, DefaultTranslations())
|
||||||
|
Loading…
Reference in New Issue
Block a user