changeset 2775:9b43bd4e9e38

fix typos
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 26 Aug 2007 22:33:48 +0200
parents 9d63b942987a
children feac6894489b
files MoinMoin/parser/_tests/test_text_moin_wiki.py MoinMoin/theme/__init__.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/_tests/test_text_moin_wiki.py	Sun Aug 26 22:30:12 2007 +0200
+++ b/MoinMoin/parser/_tests/test_text_moin_wiki.py	Sun Aug 26 22:33:48 2007 +0200
@@ -533,7 +533,7 @@
     needle = re.compile(text % r'(.+)')
     _tests = [
         # test,           expected
-        ('SomeNonExistantPage', '<a class="nonexistent" href="./SomeNonExistantPage">SomeNonExistantPage</a>'),
+        ('SomeNonExistentPage', '<a class="nonexistent" href="./SomeNonExistentPage">SomeNonExistentPage</a>'),
         ('[[something]]', '<a class="nonexistent" href="./something">something</a>'),
         ('[[some thing]]', '<a class="nonexistent" href="./some%20thing">some thing</a>'),
         ('[[something|some text]]', '<a class="nonexistent" href="./something">some text</a>'),
--- a/MoinMoin/theme/__init__.py	Sun Aug 26 22:30:12 2007 +0200
+++ b/MoinMoin/theme/__init__.py	Sun Aug 26 22:33:48 2007 +0200
@@ -975,7 +975,7 @@
                 data = {'action': action, 'disabled': ''}
                 # Always add spaces: AttachFile -> Attach File
                 # XXX do not create page just for using split_title -
-                # creating pages for non-existant does 2 storage lookups
+                # creating pages for non-existent does 2 storage lookups
                 #title = Page(request, action).split_title(force=1)
                 title = action
                 # Use translated version if available