tests: Add test for TW-1883 (#1896)
This commit is contained in:
17
test/tw-1883.t
Executable file
17
test/tw-1883.t
Executable file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Test for TW-1883 (#1896 on Github)
|
||||||
|
# https://github.com/GothenburgBitFactory/taskwarrior/issues/1896
|
||||||
|
|
||||||
|
. bash_tap_tw.sh
|
||||||
|
|
||||||
|
task add sample
|
||||||
|
task +PENDING '(' ')'
|
||||||
|
task '(' ')'
|
||||||
|
task '(' '(' ')' ')'
|
||||||
|
task '(' '(' ')' '(' ')' ')'
|
||||||
|
|
||||||
|
# Detect that the task is actually displayed
|
||||||
|
task +PENDING '(' ')' | grep sample
|
||||||
|
task '(' ')' | grep sample
|
||||||
|
task '(' '(' ')' ')' | grep sample
|
||||||
|
task '(' '(' ')' '(' ')' ')' | grep sample
|
||||||
Reference in New Issue
Block a user