From 4c7b997df75c0cae4fc0be860ddaacf9c4d2be69 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 1 Sep 2014 23:26:17 +0200 Subject: [PATCH] * Add tests for word shape features --- tests/test_shape.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_shape.py b/tests/test_shape.py index 8231b2c94..459f5ec07 100644 --- a/tests/test_shape.py +++ b/tests/test_shape.py @@ -9,10 +9,10 @@ def test_capitalized(): assert ws('Nasa') == 'Xxxx' def test_truncate(): - assert ws('capitalized') == 'xxx' + assert ws('capitalized') == 'xxxxx' def test_digits(): - assert ws('999999999') == 'ddd' + assert ws('999999999') == 'ddddd' def test_mix(): assert ws('C3P0') == 'XdXd'