Skip to content

Commit

Permalink
test_cleanUpLinks_pipes: Expect uppercase first letter
Browse files Browse the repository at this point in the history
The first letter of link targets is capitalized when appropriate for
de:wikipedia.[1] TestCosmeticChanges is perfomed on de:wikipedia.[2]
Therefore it should be expected to have an uppercase letter in this
case which is a method of a sub-class of TestCosmeticChanges.

[1]: https://goo.gl/QdULBb
[2]: https://goo.gl/YAfB6y

Bug: T158050
Change-Id: I92159e61156a06ca9b7ad82fecd1df3572ef4b06
  • Loading branch information
5j9 committed Feb 15, 2017
1 parent 85da733 commit c3e9145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cosmetic_changes_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def test_translateMagicWords(self):

def test_cleanUpLinks_pipes(self):
"""Test cleanUpLinks method."""
self.assertEqual('[[no|no change]]',
self.assertEqual('[[No|no change]]',
self.cct.cleanUpLinks('[[no|no change]]'))
self.assertEqual('[[title]]',
self.cct.cleanUpLinks('[[title|title]]'))
Expand Down

0 comments on commit c3e9145

Please sign in to comment.