mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Actually test :foo in test_crash_empty_prefix
This commit is contained in:
parent
980ae01d10
commit
2375c3117c
1 changed files with 1 additions and 1 deletions
|
@ -150,5 +150,5 @@ def test_random_lookup():
|
||||||
|
|
||||||
def test_crash_empty_prefix():
|
def test_crash_empty_prefix():
|
||||||
"""Searching for ':foo' used to crash, augh!"""
|
"""Searching for ':foo' used to crash, augh!"""
|
||||||
results = lookup.lookup(u'Eevee')
|
results = lookup.lookup(u':Eevee')
|
||||||
assert_equal(results[0].object.name, u'Eevee', u'Empty prefix dun crash')
|
assert_equal(results[0].object.name, u'Eevee', u'Empty prefix dun crash')
|
||||||
|
|
Loading…
Reference in a new issue