taskwarrior/test/tw-2392.test.sh

20 lines
528 B
Bash
Executable file

#!/usr/bin/env bash
. bash_tap_tw.sh
# This sets foo to "PT13H" despite it being a string UDA
task add test project:c.vs.2021-01
# Show the problem in TAP output
task rc.debug.parser:3 project:c.vs.2021-01 _ids
[[ `task project:c.vs.2021-01 _ids` == "1" ]]
# Same thing now, but with 11 instead of 01
# This sets foo to "PT13H" despite it being a string UDA
task add test project:c.vs.2021-11
# Show the problem in TAP output
task rc.debug.parser:3 project:c.vs.2021-11 _ids
[[ `task project:c.vs.2021-11 _ids` == "2" ]]