From 50631f85e73eda9d6738f5993ff5cf26198f8697 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 27 Sep 2015 13:19:01 -0400 Subject: t/100-python.t: Perform a `git reset` at test's end Ensure we reset the staging area as a teardow/cleanup operation. Otherwise, our JavaScript test (which runs after this one by default) will be working with a dirty staging area and its test will by consequence not pass. --- t/100-python.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/100-python.t b/t/100-python.t index 09266bd..677924b 100644 --- a/t/100-python.t +++ b/t/100-python.t @@ -26,4 +26,7 @@ test.py:3:80: E501 line too long (97 > 79 characters) test.py:5:31: E225 missing whitespace around operator ", 'flake8 ran on committed Python file'; +$output = `git reset`; +ok !$?; + done_testing; -- cgit v1.2.3