We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bb2d6c commit e3f856fCopy full SHA for e3f856f
tests/plugins.zunit
@@ -9,7 +9,16 @@
9
export ZTMP=$(mktemp -qu)
10
}
11
12
+@test 'wait-ice-brackets' {
13
+ rm -f $ZTMP
14
+ # @zinit-scheduler with "burst" argument executes all tasks "now"
15
+ eval zinit wait"\"[[ -n $ZTMP ]]\"" nocd atload\'touch $ZTMP\' for zdharma-continuum/null && @zinit-scheduler burst
16
+ assert $state equals 0
17
+ assert $ZTMP is_file
18
+}
19
+
20
@test 'wait-ice' {
21
22
# @zinit-scheduler with "burst" argument executes all tasks "now"
23
eval zinit wait nocd atload\'touch $ZTMP\' for zdharma-continuum/null && @zinit-scheduler burst
24
assert $state equals 0
0 commit comments