diff options
Diffstat (limited to 'mardown/ast_modifier_test.go')
| -rw-r--r-- | mardown/ast_modifier_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mardown/ast_modifier_test.go b/mardown/ast_modifier_test.go index d805f22..1539aa4 100644 --- a/mardown/ast_modifier_test.go +++ b/mardown/ast_modifier_test.go @@ -4,7 +4,7 @@ import "testing" func TestModifier(t *testing.T) { content := ` -***bon*soir** +**bo*n*soir** ` lxs := lex(content) tree, err := ast(lxs) @@ -15,7 +15,7 @@ func TestModifier(t *testing.T) { if err != nil { t.Fatal(err) } - if c != "<p><b><em>bon</em>soir</b></p>" { + if c != "<p><b>bo<em>n</em>soir</b></p>" { t.Errorf("failed, got %s", c) t.Logf("lxs: %s\ntree: %s", lxs, tree) } |
