From 2d28ac19a756d2c6816002992baf76105ed28a8e Mon Sep 17 00:00:00 2001 From: Wilhelm Schuermann Date: Mon, 26 Oct 2015 09:47:19 +0100 Subject: [PATCH] TW-1718: Test for "String UDA not passed through unchanged" --- test/tw-1718.t | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 test/tw-1718.t diff --git a/test/tw-1718.t b/test/tw-1718.t new file mode 100755 index 000000000..3cf7f145d --- /dev/null +++ b/test/tw-1718.t @@ -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'