Skip to content

Commit b327a7d

Browse files
committed
Move an inline option in lexer_spec.lua
Ignore only one assertion, not the whole block of them.
1 parent e3484ba commit b327a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lexer_spec.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ bar"]]))
122122
bar"]]))
123123
end)
124124

125-
-- luacheck: ignore 612
126125
it("parses \\z correctly", function()
127126
assert.same({token = "string", token_value = "foo "}, get_token([["foo \z"]]))
128127
assert.same({token = "string", token_value = "foo bar"}, get_token([["foo \zbar"]]))
129128
assert.same({token = "string", token_value = "foo bar"}, get_token([["foo \z bar"]]))
129+
-- luacheck: ignore 612
130130
assert.same({token = "string", token_value = "foo bar"}, get_token([["foo \z
131131
132132
bar\z "]]))

0 commit comments

Comments
 (0)