Skip to content

Commit 2c42ba3

Browse files
authored
Fix test for parse function error handling
1 parent 4bf5cee commit 2c42ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parse_test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ local parse = function(str)
1111
end
1212

1313
function g.test_parse_comments()
14-
t.assert_error(parse('{a(b:"#")}').definitions, {})
14+
t.assert_error(parse, '{a(b:"#")}')
1515
end
1616

1717
function g.test_parse_document()

0 commit comments

Comments
 (0)