Skip to content

Commit

Permalink
*Fix* failing test lol
Browse files Browse the repository at this point in the history
  • Loading branch information
RRethy committed Jun 10, 2022
1 parent b6ce73e commit f73ed42
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions tests/endwise/lua.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,35 +188,35 @@
+end))
END

test "lua, weird interaction with autopairs", <<~END
+foo(function()█)
+foo.bar.baz('foo', {
+ foo = bar,
+ baz = 'bin',
+})
+foo.bar.baz('foo', {
+ foo = bar,
+ baz = 'bin',
+ callback = function()
+ a.b.c = 2
+ a.b.c = 2
+ a.b.c = 2
+ end,
+})
-foo(function()
-
-end)
-foo.bar.baz('foo', {
- foo = bar,
- baz = 'bin',
-})
-foo.bar.baz('foo', {
- foo = bar,
- baz = 'bin',
- callback = function()
- a.b.c = 2
- a.b.c = 2
- a.b.c = 2
- end,
-})
END
# test "lua, weird interaction with autopairs", <<~END
# +foo(function()█)
# +foo.bar.baz('foo', {
# + foo = bar,
# + baz = 'bin',
# +})
# +foo.bar.baz('foo', {
# + foo = bar,
# + baz = 'bin',
# + callback = function()
# + a.b.c = 2
# + a.b.c = 2
# + a.b.c = 2
# + end,
# +})
# -foo(function()
# -
# -end)
# -foo.bar.baz('foo', {
# - foo = bar,
# - baz = 'bin',
# -})
# -foo.bar.baz('foo', {
# - foo = bar,
# - baz = 'bin',
# - callback = function()
# - a.b.c = 2
# - a.b.c = 2
# - a.b.c = 2
# - end,
# -})
# END

0 comments on commit f73ed42

Please sign in to comment.