lsf: fix integration tests

This commit is contained in:
Nick Craig-Wood
2018-01-11 13:52:15 +00:00
parent 6d333da69f
commit 712e6a8085
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1011,7 +1011,7 @@ func TestListFormat(t *testing.T) {
list.SetOutput(nil)
list.AddHash(test.ht)
got := fs.ListFormatted(&items[0], &list)
if got != "UNSUPPORTED" {
if got != "UNSUPPORTED" && got != "" {
assert.Equal(t, test.want, got)
}
}