From 44b3f41a4b3c1ccef09cc8aba4fcbc874e164798 Mon Sep 17 00:00:00 2001 From: Sphericalkat Date: Mon, 29 May 2023 14:50:38 +0530 Subject: [PATCH] fix(test): update markup test case Signed-off-by: Sphericalkat --- pkg/converters/markup_converter_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) } }