Skip to content

Commit 58c8541

Browse files
committed
Fixed broken test-case
1 parent 2cd10eb commit 58c8541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser/parser_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func testSingleArgument(t *testing.T, tokenName token.Type, validType token.Type
127127
if err == nil {
128128
t.Fatalf("Expected to receive an error got none\n")
129129
}
130-
if !strings.Contains(err.Error(), "Expected "+string(validType)) {
130+
if !strings.Contains(err.Error(), "expected "+string(validType)) {
131131
t.Fatalf("We received an error, but not the correct one: %s\n", err.Error())
132132
}
133133

0 commit comments

Comments
 (0)