better jq filter
This commit is contained in:
parent
2df95bbc56
commit
a60eba976f
2 changed files with 16 additions and 15 deletions
|
@ -8,12 +8,13 @@
|
|||
inotify-tools = "inotify-tools";
|
||||
};
|
||||
watch = import ../tix/watch.nix mockpkgs;
|
||||
in
|
||||
describe "watch" [
|
||||
in [
|
||||
(describe "watch" [
|
||||
(it "contains the command" {
|
||||
actual = builtins.match ".*(run me).*" (watch {
|
||||
cmd = "run me";
|
||||
});
|
||||
expected = ["run me"];
|
||||
})
|
||||
]
|
||||
])
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue