Use NOT notation in task tests instead of "-"
Use the more explicit and clearer "NOT" query notation.
Change-Id: If0268680219bff73443f24cca5f3ce5d8c1cbae1
diff --git a/src/main/resources/Documentation/task_states.md b/src/main/resources/Documentation/task_states.md
index 3ab312c..5b8ac13 100644
--- a/src/main/resources/Documentation/task_states.md
+++ b/src/main/resources/Documentation/task_states.md
@@ -53,7 +53,7 @@
[root "Root READY (subtask PASS)"]
applicable = is:open
- pass = -is:open
+ pass = NOT is:open
subtask = Subtask PASS
ready-hint = You must now run the ready task
@@ -70,12 +70,12 @@
[root "Root IN PROGRESS"]
applicable = is:open
in-progress = is:open
- pass = -is:open
+ pass = NOT is:open
[root "Root NOT IN PROGRESS"]
applicable = is:open
- in-progress = -is:open
- pass = -is:open
+ in-progress = NOT is:open
+ pass = NOT is:open
[root "Subtasks File"]
subtasks-file = common.config
@@ -132,7 +132,7 @@
[task "Subtask READY"]
applicable = is:open
- pass = -is:open
+ pass = NOT is:open
subtask = Subtask PASS
[task "Subtask PASS"]
diff --git a/test/root.change b/test/root.change
index 3ca43aa..99dea09 100644
--- a/test/root.change
+++ b/test/root.change
@@ -6,7 +6,7 @@
[root "Root READY (subtask PASS) Preview"]
applicable = is:open
- pass = -is:open
+ pass = NOT is:open
subtask = Subtask PASS Preview
ready-hint = You must now run the ready task
@@ -14,11 +14,11 @@
subtasks-external = user special Preview
[root "Root NA Pass Preview"]
- applicable = -is:open
+ applicable = NOT is:open
pass = True
[root "NA INVALIDS Preview"]
- applicable = -is:open
+ applicable = NOT is:open
subtasks-file = invalids.config
[task "Subtask PASS Preview"]