Fixed tests
Some checks failed
ci / Build (push) Successful in 3m9s
Release / Build (push) Successful in 3m8s
Release / Site (push) Successful in 1m31s
Release / Release (push) Failing after 2m10s

This commit is contained in:
Leon Mika 2025-11-15 11:40:44 +11:00
parent b4cee0e2e5
commit 82478605db

View file

@ -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"
`,