Multiple leading capital letters in a WikiWord
CMyApp is a WikiWord (at least, on other Wiki systems, like TWiki). Should allow that here Also, choose a more obscure name for the thread-local variable tracking included chunks.
This commit is contained in:
parent
61c3fb1ab9
commit
c3c33b68dd
3 changed files with 17 additions and 12 deletions
|
@ -11,4 +11,8 @@ class WikiWordsTest < Test::Unit::TestCase
|
|||
assert_equal "Æe ÅØle Øen", WikiWords.separate("ÆeÅØleØen")
|
||||
assert_equal "Legetøj", WikiWords.separate("Legetøj")
|
||||
end
|
||||
|
||||
def test_multiple_leading_capital_letters
|
||||
assert_equal "CMy App", WikiWords.separate("CMyApp")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue