From efdae5ae6ab68738492c339913d349db01476cbf Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 15 Sep 2020 21:24:08 +0200 Subject: 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. --- t/100-shows-todo-comments-since-fork-point.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3