mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-11-17 22:41:58 +08:00
Fix broken test (#1659)
This commit is contained in:
parent
1b3471835c
commit
0a6fa677f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue