Skip to content

Commit

Permalink
chore: update test snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Feb 29, 2024
1 parent c3dde50 commit d61cd9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
-- comments should stay before punctuation to ensure type assertions work in sumneko-lua

function fun(
a, --[[ a commnet]]
a --[[ a commnet]],
b
)
end

local tab = {
a = 1,--[[@as integer ]]
a = 1 --[[@as integer ]],
b = 1,
}

call(
long_argument_name, --[[@as integer ]]
long_argument_name --[[@as integer ]],
long_argument_name,
long_argument_name,
long_argument_name,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
-- https://github.com/JohnnyMorganz/StyLua/issues/830
local a_very_long_variable_name_given_that_is_bigger_than_width_upper_limit_but_unfortunately_can_not_be_made_shorter = function(
)
local a_very_long_variable_name_given_that_is_bigger_than_width_upper_limit_but_unfortunately_can_not_be_made_shorter = function()
print("Hello")
end

0 comments on commit d61cd9f

Please sign in to comment.