mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1718: Test for "String UDA not passed through unchanged"
This commit is contained in:
parent
b8a05f10d4
commit
2d28ac19a7
1 changed files with 13 additions and 0 deletions
13
test/tw-1718.t
Executable file
13
test/tw-1718.t
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
. bash_tap_tw.sh
|
||||
|
||||
echo "uda.foo.label=foo" >> taskrc
|
||||
echo "uda.foo.type=string" >> taskrc
|
||||
|
||||
# This sets foo to "PT13H" despite it being a string UDA
|
||||
task add bar foo:"3h+10h"
|
||||
|
||||
# Show the problem in TAP output
|
||||
task _get 1.foo
|
||||
|
||||
task _get 1.foo | grep '3h+10h'
|
Loading…
Add table
Add a link
Reference in a new issue