tests: Add test for TW-1883 (#1896)

This commit is contained in:
Tomas Babej 2021-01-30 19:36:24 -05:00
parent 5525460bdf
commit c6fdb7e590

17
test/tw-1883.t Executable file
View 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