diff options
author | Teddy Wing | 2020-09-15 21:24:08 +0200 |
---|---|---|
committer | Teddy Wing | 2020-09-15 21:24:08 +0200 |
commit | efdae5ae6ab68738492c339913d349db01476cbf (patch) | |
tree | 8bf7bf1ce7a39003197d14dfacc992e3dcbbf5d4 | |
parent | 8979dcfa823c8fd49aa2cf48840e99810f29d1ce (diff) | |
download | git-todo-efdae5ae6ab68738492c339913d349db01476cbf.tar.bz2 |
t/100-shows-todo-comments-since-fork-point.t: Fix teardown
Need to restore the repo state back to the master branch and remove the
new branch created in this test.
-rw-r--r-- | t/100-shows-todo-comments-since-fork-point.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/100-shows-todo-comments-since-fork-point.t b/t/100-shows-todo-comments-since-fork-point.t index bb35c9d..dd0f161 100644 --- a/t/100-shows-todo-comments-since-fork-point.t +++ b/t/100-shows-todo-comments-since-fork-point.t @@ -42,7 +42,8 @@ is $todos, 'TODO: 100-shows-todo-comments-since-fork-point # Teardown -system('git branch -d fork-point'); +system('git checkout master'); +system('git branch -D fork-point'); done_testing; |