From 0a6fa677f30f2b8d0d6240241ff752df82ead6d6 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Mon, 8 Aug 2022 10:30:21 -0400 Subject: [PATCH] Fix broken test (#1659) --- pkg/prettyzone/prettyzone_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/prettyzone/prettyzone_test.go b/pkg/prettyzone/prettyzone_test.go index 4d1f6d408..7f598ce07 100644 --- a/pkg/prettyzone/prettyzone_test.go +++ b/pkg/prettyzone/prettyzone_test.go @@ -423,7 +423,7 @@ func TestFormatLine(t *testing.T) { {[]int{2, 2, 0}, []string{"aaaaa", "b", "c"}, "aaaaa b c"}, } for _, ts := range tests { - actual := formatLine(ts.lengths, ts.fields) + actual := FormatLine(ts.lengths, ts.fields) if actual != ts.expected { t.Errorf("\"%s\" != \"%s\"", actual, ts.expected) }