diff --git a/test/tw-1883.t b/test/tw-1883.t new file mode 100755 index 000000000..37a0f2b14 --- /dev/null +++ b/test/tw-1883.t @@ -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