console: fix test about reverse filter direction

This commit is contained in:
Vincent Bernat
2022-08-08 09:42:27 +02:00
parent 61c8143fe8
commit b745cfd356
6 changed files with 22 additions and 22 deletions

View File

@@ -63,7 +63,7 @@ func TestUnmarshalFilter(t *testing.T) {
if err != nil {
t.Fatalf("UnmarshalText(%q) error:\n%+v", tc.Input, err)
}
if diff := helpers.Diff(qf.filter, tc.Expected); diff != "" {
if diff := helpers.Diff(qf.Filter, tc.Expected); diff != "" {
t.Fatalf("UnmarshalText(%q) (-got, +want):\n%s", tc.Input, diff)
}
})