From e4a5958fc8d9e131ab083215a51a1b60acf91410 Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Sun, 18 Jul 2021 22:15:35 +0900 Subject: Detect multiple semantic errors in a single parse --- spec/parser_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/parser_test.go') diff --git a/spec/parser_test.go b/spec/parser_test.go index 5a54b83..d7ca30f 100644 --- a/spec/parser_test.go +++ b/spec/parser_test.go @@ -654,7 +654,7 @@ func testParameter(t *testing.T, param, expected *ParameterNode, checkPosition b func testPosition(t *testing.T, pos, expected Position) { t.Helper() - if pos.row != expected.row { + if pos.Row != expected.Row { t.Fatalf("unexpected position want: %+v, got: %+v", expected, pos) } } -- cgit v1.2.3