Skip to content

Commit d9735f0

Browse files
author
Richard Jones
committed
add tests for numbers too :)
1 parent c899a4b commit d9735f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_templating.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ def t(s, nothing=False, **groups):
124124
t('item123', **{'class':'item', 'id':'123'})
125125
t('www.user:[email protected]', email='[email protected]')
126126
t('user:[email protected]', url='user:[email protected]')
127+
t('123.35', nothing=True)
128+
t('-.3535', nothing=True)
127129

128130
def test_url_replace(self):
129131
p = StringHTMLProperty(self.client, 'test', '1', None, 'test', '')

0 commit comments

Comments
 (0)