Skip to content

Commit

Permalink
Closes #19
Browse files Browse the repository at this point in the history
  • Loading branch information
RRethy committed Jul 26, 2022
1 parent d618ada commit 9c89c6e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/endwise/lua.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,22 @@
+end))
END

test "lua, issue #19", <<~END
-if true then
- print('true')
-elseif true then█
-else
- print('false')
-end
+if true then
+ print('true')
+elseif true then
+
+else
+ print('false')
+end
END

# test "lua, weird interaction with autopairs", <<~END
# +foo(function()█)
# +foo.bar.baz('foo', {
Expand Down

0 comments on commit 9c89c6e

Please sign in to comment.