summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-08-19 04:43:37 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-08-19 04:43:37 +0200
commit5dd7ca65fdb90d6ffe53790abf1fe5a29a66675e (patch)
treeb7450d8dd5b606ea70c8cb54c4743b83b91cf17c /test
parent5b0d3ed58e4e804ba5585dd2091b8091498488fc (diff)
downloadcoderay-5dd7ca65fdb90d6ffe53790abf1fe5a29a66675e.tar.gz
rename CaseIgnoringWordList to WordList::CaseIgnoring
Diffstat (limited to 'test')
-rw-r--r--test/unit/word_list.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/word_list.rb b/test/unit/word_list.rb
index 2d02d66..40d5a26 100644
--- a/test/unit/word_list.rb
+++ b/test/unit/word_list.rb
@@ -39,13 +39,13 @@ class WordListTest < Test::Unit::TestCase
end
def test_case_ignoring_word_list
- list = CaseIgnoringWordList.new(:ident).add(['foobar'], :reserved)
+ list = WordList::CaseIgnoring.new(:ident).add(['foobar'], :reserved)
assert_equal :ident, list['foo']
assert_equal :reserved, list['foobar']
assert_equal :reserved, list['FooBar']
assert_equal 1, list.size
- list = CaseIgnoringWordList.new(:ident).add(['FooBar'], :reserved)
+ list = WordList::CaseIgnoring.new(:ident).add(['FooBar'], :reserved)
assert_equal :ident, list['foo']
assert_equal :reserved, list['foobar']
assert_equal :reserved, list['FooBar']