Skip to content

Commit

Permalink
Fixed #4897 -- Fixed minor typo in doctest comment.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Jul 20, 2007
1 parent 3fef1f4 commit 73bec37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regressiontests/templates/tests.py
Expand Up @@ -602,7 +602,7 @@ def test_templates(self):
# translation of a constant string # translation of a constant string
'i18n13': ('{{ _("Page not found") }}', {'LANGUAGE_CODE': 'de'}, 'Seite nicht gefunden'), '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')), 'invalidstr01': ('{{ var|default:"Foo" }}', {}, ('Foo','INVALID')),
'invalidstr02': ('{{ var|default_if_none:"Foo" }}', {}, ('','INVALID')), 'invalidstr02': ('{{ var|default_if_none:"Foo" }}', {}, ('','INVALID')),
Expand Down

0 comments on commit 73bec37

Please sign in to comment.