From 82478605dbe2d5a72e78d81a87e1c007e43a801f Mon Sep 17 00:00:00 2001 From: Leon Mika Date: Sat, 15 Nov 2025 11:40:44 +1100 Subject: [PATCH] Fixed tests --- internal/common/ui/commandctrl/cmdpacks/modrs_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/common/ui/commandctrl/cmdpacks/modrs_test.go b/internal/common/ui/commandctrl/cmdpacks/modrs_test.go index 13a2dd7..9d2da35 100644 --- a/internal/common/ui/commandctrl/cmdpacks/modrs_test.go +++ b/internal/common/ui/commandctrl/cmdpacks/modrs_test.go @@ -154,16 +154,16 @@ func TestModRS_Query(t *testing.T) { } } -func TestModRS_Filter(t *testing.T) { +func TestModRS_Hide(t *testing.T) { tests := []struct { descr string cmd string }{ { - descr: "returns filtered items 1", + descr: "returns hidden items 1", cmd: ` rs = rs:scan -table service-test-data - rs = rs:filter $rs 'pk="abc"' + rs = rs:hide $rs 'pk="abc"' assert (len $rs) "expected len == 2" assert (eq $rs.First.pk "abc") "expected First.pk == abc" `,