diff --git a/test/tw-2124.t b/test/tw-2124.t new file mode 100755 index 000000000..945221d58 --- /dev/null +++ b/test/tw-2124.t @@ -0,0 +1,15 @@ +#!/bin/bash +# A test case for TW-2124. +# https://github.com/GothenburgBitFactory/taskwarrior/issues/2124 + +. bash_tap_tw.sh + +# Filtering for description with a dash works +task add foo-bar +task foo-bar list | grep foo-bar + +# Filtering for tag with dash does not work right now +export EXPFAIL=true + +task add test +one-two +task +one-two list