Skip to content

Commit

Permalink
feat: add spec for CKolkey#41 case
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpw committed May 8, 2023
1 parent ba0277b commit b10dff4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions spec/filetypes/rust_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,33 @@ describe("toggle_multiline", function()
{ 1, 11 }
)
)

assert.are.same(
{
"{",
" visitor.visit_char(self.parse_u8()? as char)",
"}",
},
Helper:call(
{
"{ visitor.visit_char(self.parse_u8()? as char) }",
},
{ 1, 1 }
)
)
assert.are.same(
{
"{ visitor.visit_char(self.parse_u8()? as char) }",
},
Helper:call(
{
"{",
" visitor.visit_char(self.parse_u8()? as char)",
"}",
},
{ 1, 1 }
)
)
end)

it("parameters", function()
Expand Down

0 comments on commit b10dff4

Please sign in to comment.