mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2024-11-16 11:25:57 +00:00
fix(test): update markup test case
Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
parent
bd06b7ee37
commit
44b3f41a4b
@ -71,7 +71,8 @@ func TestConvert(t *testing.T) {
|
||||
},
|
||||
})
|
||||
|
||||
if markup != "<strong><strong> </strong><em><strong>and</strong></em><em> emphasized</em> only" {
|
||||
t.Errorf("Expected markup to be <strong><strong> </strong><em><strong>and</strong></em><em> emphasized</em> only only, got %s", markup)
|
||||
expected := "<strong><strong> </strong><em><strong>and</strong></em><em> emphasized</em> only"
|
||||
if markup != expected {
|
||||
t.Errorf("Expected markup to be '%s', got '%s'", expected, markup)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user