diff options
author | hut <hut@lavabit.com> | 2010-09-30 00:42:24 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-09-30 00:42:24 +0200 |
commit | d4900452fca51685349966d527d173fdefe83f08 (patch) | |
tree | a57f8aacf7069296668851dad794f7061ef9dbcb /test/tc_utfwidth.py | |
parent | 483f11640f911767dfedba74f1db3efd819a68c6 (diff) | |
download | ranger-d4900452fca51685349966d527d173fdefe83f08.tar.gz |
ext.utfwidth: stuff
Diffstat (limited to 'test/tc_utfwidth.py')
-rw-r--r-- | test/tc_utfwidth.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tc_utfwidth.py b/test/tc_utfwidth.py index 0288c17b..67ff609e 100644 --- a/test/tc_utfwidth.py +++ b/test/tc_utfwidth.py @@ -42,5 +42,7 @@ class Test(TestCase): self.assertEqual(4, uwid("asdf")) self.assertEqual(5, uwid("löööl")) self.assertEqual(6, uwid("バババ")) + self.assertEqual(1, uwid("äsdf", count=1)) + self.assertEqual(2, uwid("バババ", count=1)) if __name__ == '__main__': main() |