summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-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']