From 024cd373e052db4193343b1eeb0767df98d7ea1e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 21 Oct 2023 02:17:57 +0200 Subject: Rename some tests --- formatter/formatter_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/formatter/formatter_test.go b/formatter/formatter_test.go index 132059a..fe3af4d 100644 --- a/formatter/formatter_test.go +++ b/formatter/formatter_test.go @@ -75,7 +75,7 @@ func TestPrintAst(t *testing.T) { } } -func TestPrintAttrs_nClasses(t *testing.T) { +func TestPrintAttrsNoClasses(t *testing.T) { redirectStdout() printAttrs([]parser.Attr{ { @@ -97,7 +97,7 @@ func TestPrintAttrs_nClasses(t *testing.T) { } } -func TestPrintAttrs_classes(t *testing.T) { +func TestPrintAttrsClasses(t *testing.T) { redirectStdout() printAttrs([]parser.Attr{ { @@ -120,7 +120,7 @@ func TestPrintAttrs_classes(t *testing.T) { } } -func TestPrintAttrs_mixedAttrs(t *testing.T) { +func TestPrintAttrsMixedAttrs(t *testing.T) { redirectStdout() printAttrs([]parser.Attr{ { -- cgit v1.2.3