TW-1718: Test for "String UDA not passed through unchanged"

This commit is contained in:
Wilhelm Schuermann 2015-10-26 09:47:19 +01:00
parent b8a05f10d4
commit 2d28ac19a7

13
test/tw-1718.t Executable file
View 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'