Skip to content

Commit

Permalink
Add sleep commands to improve order consistency in todo-tasks.bats.
Browse files Browse the repository at this point in the history
  • Loading branch information
xwmx committed Aug 27, 2023
1 parent d07f7a5 commit f123113
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/todo-tasks.bats
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,14 @@ HEREDOC
--content "# Example description four." \
--filename "Example Folder/Four.md"

sleep 1

"${_NB}" add \
--content "# [ ] Sample todo description one." \
--filename "Sample Folder/One.todo.md"

sleep 1

"${_NB}" add \
--filename "One.todo.md" \
--content "$(cat <<HEREDOC
Expand All @@ -186,6 +190,8 @@ HEREDOC
HEREDOC
)"

sleep 1

"${_NB}" add \
--filename "Two.todo.md" \
--content "$(cat <<HEREDOC
Expand Down

0 comments on commit f123113

Please sign in to comment.