moved some tests over
This commit is contained in:
parent
e4ecb406bf
commit
2eb01cd575
9 changed files with 0 additions and 0 deletions
14
test/unit/wiki_words_test.rb
Executable file
14
test/unit/wiki_words_test.rb
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/env ruby -w
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'wiki_words'
|
||||
|
||||
class WikiWordsTest < Test::Unit::TestCase
|
||||
|
||||
def test_utf8_characters_in_wiki_word
|
||||
assert_equal "Æåle Øen", WikiWords.separate("ÆåleØen")
|
||||
assert_equal "ÆÅØle Øen", WikiWords.separate("ÆÅØleØen")
|
||||
assert_equal "Æe ÅØle Øen", WikiWords.separate("ÆeÅØleØen")
|
||||
assert_equal "Legetøj", WikiWords.separate("Legetøj")
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue