We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0073b30 commit fa8bae4Copy full SHA for fa8bae4
test/prism/errors_test.rb
@@ -38,6 +38,9 @@ def test_newline_preceding_eof
38
39
err = Prism.parse("foo(\n").errors.first
40
assert_equal 1, err.location.start_line
41
+
42
+ err = Prism.parse("foo(\n\n\n\n\n").errors.first
43
+ assert_equal 5, err.location.start_line
44
end
45
46
def test_embdoc_ending
0 commit comments