diff options
author | hut <hut@lavabit.com> | 2010-08-26 17:25:50 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-08-26 17:25:50 +0200 |
commit | 0a8001b2a141b141e6e34b1ebcce316288ef7ab7 (patch) | |
tree | 79becf7190e9173e738c9ac39c216fafec9c30a2 /test/tc_history.py | |
parent | 0fb328f92a939dd342b070a386bb717bd9c645b0 (diff) | |
download | ranger-0a8001b2a141b141e6e34b1ebcce316288ef7ab7.tar.gz |
Fixed history
Diffstat (limited to 'test/tc_history.py')
-rw-r--r-- | test/tc_history.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/tc_history.py b/test/tc_history.py index 33784e14..b1161f2a 100644 --- a/test/tc_history.py +++ b/test/tc_history.py @@ -54,4 +54,23 @@ class Test(TestCase): self.assertEqual(4, hist.bottom()) self.assertEqual([4,5,6], list(hist)) + hist.back() + hist.fast_forward() + self.assertEqual([4,5,6], list(hist)) + hist.back() + hist.back() + hist.fast_forward() + self.assertEqual([4,5,6], list(hist)) + hist.back() + hist.back() + hist.back() + hist.fast_forward() + self.assertEqual([4,5,6], list(hist)) + hist.back() + hist.back() + hist.back() + hist.back() + hist.fast_forward() + self.assertEqual([4,5,6], list(hist)) + if __name__ == '__main__': main() |