1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Fix broken test (#1659)

This commit is contained in:
Tom Limoncelli
2022-08-08 10:30:21 -04:00
committed by GitHub
parent 1b3471835c
commit 0a6fa677f3

View File

@@ -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)
}