taskwarrior/test/tw-2514.t
Dustin J. Mitchell ddd367232e [BREAKING] Remove journal.info support
This support will require access to all of the operations ever performed
on a task, which is not currently exposed by TaskChampion (but see #2928)
2023-04-16 19:21:14 -04:00

14 lines
376 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
# this does not work without journal.info
export EXPFAIL=true
# 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)."` ]]