Skip to content

Commit 92c2574

Browse files
committed
tests: add tests for empty set selection
1 parent 73fadac commit 92c2574

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,8 @@ in
122122
}
123123
);
124124
true;
125+
126+
maybeNotInSet = assert ((select "{?no}" null) == {}); true;
127+
maybeNotInSet2 = assert ((select "?no" null) == {}); true;
128+
emptySet = assert ((select "{}" null) == {}); true;
125129
}

0 commit comments

Comments
 (0)