summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-09-30 00:42:24 +0200
committerhut <hut@lavabit.com>2010-09-30 00:42:24 +0200
commitd4900452fca51685349966d527d173fdefe83f08 (patch)
treea57f8aacf7069296668851dad794f7061ef9dbcb /test
parent483f11640f911767dfedba74f1db3efd819a68c6 (diff)
downloadranger-d4900452fca51685349966d527d173fdefe83f08.tar.gz
ext.utfwidth: stuff
Diffstat (limited to 'test')
-rw-r--r--test/tc_utfwidth.py2
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()