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