mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1715: Add minimized testcase
This commit is contained in:
parent
190abd00b9
commit
c8e051a7dd
1 changed files with 12 additions and 0 deletions
12
test/tw-1715.t
Executable file
12
test/tw-1715.t
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
. bash_tap_tw.sh
|
||||
|
||||
echo "uda.ticketdate.type=date" >> taskrc
|
||||
|
||||
# This adds a task with a wrong ticketdate. If rc.dateformat is set, it works as expected.
|
||||
task add basetask ticketdate:2015-09-03T08:00:00Z
|
||||
|
||||
# For seeing the problem in test output; not needed to make the test fail.
|
||||
task export
|
||||
|
||||
task export | grep -E '"ticketdate":\s*"20150903T080000Z"'
|
Loading…
Add table
Add a link
Reference in a new issue