Skip to content

Commit

Permalink
test(scanner): add '$' DOLLAR to lexing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xNaCly committed May 2, 2023
1 parent c3a011b commit c386d45
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scanner/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@ func TestHeadings(t *testing.T) {
TEXT,
BACKTICK,
NEWLINE,
EMPTYLINE,
DOLLAR,
DOLLAR,
NEWLINE,
TEXT,
UNDERSCORE,
TEXT,
NEWLINE,
DOLLAR,
DOLLAR,
NEWLINE,
EOF,
}

Expand Down
4 changes: 4 additions & 0 deletions scanner/tests/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ _italic_ **emphasis** _italic_
![xnacly](https://avatars.githubusercontent.com/u/47723417?v=4)

`inline code`

$$
a_b
$$

0 comments on commit c386d45

Please sign in to comment.