From e6a4b50da1fd58346f7771dc5422e00e53f888dd Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 28 Jul 2015 00:22:41 -0400 Subject: [PATCH] Test: Fixed mistake where the 'annual' variant was not run --- test/history.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/history.t b/test/history.t index f2e47e977..46e6626c2 100755 --- a/test/history.t +++ b/test/history.t @@ -89,13 +89,12 @@ class TestHistoryAnnual(TestCase): def test_history_annual(self): """Verify 'history.annual' correctly categorizes data""" - code, out, err = self.t("history.monthly") + code, out, err = self.t("history.annual") self.assertRegexpMatches(out, "7\s+1\s+0\s+6") self.assertRegexpMatches(out, "2\s+3\s+3\s+-4") self.assertRegexpMatches(out, "4\s+2\s+1\s+1") - code, out, err = self.t("ghistory.monthly rc._forcecolor:on") - self.tap(out) + code, out, err = self.t("ghistory.annual rc._forcecolor:on") self.assertRegexpMatches(out, "\s7.+\s1.+") self.assertRegexpMatches(out, "\s2.+\s3.+\s3.+")