mirror of
https://github.com/django/django.git
synced 2025-01-27 02:29:55 +00:00
Fixed #4897 -- Fixed minor typo in doctest comment.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3fef1f4c8d
commit
73bec372ee
@ -602,7 +602,7 @@ class Templates(unittest.TestCase):
|
||||
# translation of a constant string
|
||||
'i18n13': ('{{ _("Page not found") }}', {'LANGUAGE_CODE': 'de'}, 'Seite nicht gefunden'),
|
||||
|
||||
### HANDLING OF TEMPLATE_TAG_IF_INVALID ###################################
|
||||
### HANDLING OF TEMPLATE_STRING_IF_INVALID ###################################
|
||||
|
||||
'invalidstr01': ('{{ var|default:"Foo" }}', {}, ('Foo','INVALID')),
|
||||
'invalidstr02': ('{{ var|default_if_none:"Foo" }}', {}, ('','INVALID')),
|
||||
|
Loading…
x
Reference in New Issue
Block a user