mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-09-20 06:46:19 +08:00
Fix broken test (#1659)
This commit is contained in:
parent
1b3471835c
commit
0a6fa677f3
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue