diff options
| -rw-r--r-- | internal/ui/helpers_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ui/helpers_test.go b/internal/ui/helpers_test.go index 1fe853b..41efe66 100644 --- a/internal/ui/helpers_test.go +++ b/internal/ui/helpers_test.go @@ -2,8 +2,8 @@ package ui import ( "fmt" - "reflect" "regexp" + "slices" "strings" "sync" "testing" @@ -535,7 +535,7 @@ func TestParseFilterInput(t *testing.T) { t.Errorf("parseFilterInput(%q) error = %v, wantErr %v", tt.input, err, tt.wantErr) return } - if !tt.wantErr && !reflect.DeepEqual(got, tt.want) { + if !tt.wantErr && !slices.Equal(got, tt.want) { t.Errorf("parseFilterInput(%q) = %v, want %v", tt.input, got, tt.want) } }) |
