taskwarrior/test/tw-2514.test.sh
Dustin J. Mitchell c9967c20e2
Restore support for task info journal (#3671)
This support was removed before Taskwarrior-3.x, and is now restored,
including the original tests removed in
ddd367232e
2024-11-06 07:39:39 -05:00

11 lines
313 B
Bash
Executable file

#!/usr/bin/env bash
. bash_tap_tw.sh
# Setup the tasks
task add Something I did yesterday
task 1 mod start:yesterday+18h
task 1 done end:yesterday+20h
# Check that 2 hour interval is reported by task info
task info | grep -F "Start deleted"
[[ ! -z `task info | grep -F "Start deleted (duration: 2:00:00)."` ]]