diff --git a/pkg/converters/markup_converter_test.go b/pkg/converters/markup_converter_test.go index 3f3ab69..f20a8d3 100644 --- a/pkg/converters/markup_converter_test.go +++ b/pkg/converters/markup_converter_test.go @@ -71,7 +71,8 @@ func TestConvert(t *testing.T) { }, }) - if markup != "<strong> <strong>and</strong> emphasized only" { - t.Errorf("Expected markup to be <strong> <strong>and</strong> emphasized only only, got %s", markup) + expected := "<strong> and emphasized only" + if markup != expected { + t.Errorf("Expected markup to be '%s', got '%s'", expected, markup) } }