From c6fdb7e590752f0e92f70c7104f0a3bf1fdd5091 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 30 Jan 2021 19:36:24 -0500 Subject: [PATCH] tests: Add test for TW-1883 (#1896) --- test/tw-1883.t | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 test/tw-1883.t 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