aboutsummaryrefslogtreecommitdiff
path: root/mardown/ast_modifier_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'mardown/ast_modifier_test.go')
-rw-r--r--mardown/ast_modifier_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/mardown/ast_modifier_test.go b/mardown/ast_modifier_test.go
index 1539aa4..ce0988f 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 := `
-**bo*n*soir**
+**bo*n*soir**, ça ***va* bien** ?
`
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>bo<em>n</em>soir</b></p>" {
+ if c != "<p><b>bo<em>n</em>soir</b>, ça <b><em>va</em> bien</b> ?</p>" {
t.Errorf("failed, got %s", c)
t.Logf("lxs: %s\ntree: %s", lxs, tree)
}