diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 10:58:28 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-02 10:58:28 +0200 |
| commit | 597e15a5cde4127105ce7a6109d52491d6976be7 (patch) | |
| tree | ba10438a8604ba4ed8a0c59a32844fbebee0c96c /mardown/lexer_test.go | |
| parent | f0899429d56849f8cdf58f53a8232e4433f6725e (diff) | |
fix(markdown): not supporting triple same modifier in a row
Diffstat (limited to 'mardown/lexer_test.go')
| -rw-r--r-- | mardown/lexer_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mardown/lexer_test.go b/mardown/lexer_test.go index c9ec349..8fe81cc 100644 --- a/mardown/lexer_test.go +++ b/mardown/lexer_test.go @@ -16,7 +16,7 @@ func TestLex(t *testing.T) { t.Errorf("invalid lex, got %s", lxs) } lxs = lex("***hey***, what's up?") - if lxs.String() != "Lexers[modifier(**) modifier(*) literal(hey) modifier(*) modifier(**) literal(, what's up?) ]" { + if lxs.String() != "Lexers[modifier(***) literal(hey) modifier(***) literal(, what's up?) ]" { t.Errorf("invalid lex, got %s", lxs) } lxs = lex(`Xxx\_DarkEmperor\_xxX`) |
