Sha256: 09e70fb43e47b5ed3eb0f8660bc734b5092fe9bf54a3cce3c210d687d58d0cc9
Contents?: true
Size: 375 Bytes
Versions: 7
Compression:
Stored size: 375 Bytes
Contents
require "test_helper" describe Iso639::InsensitiveHash do it "should returns results ignore case" do hash = Iso639::InsensitiveHash.new hash["foo"] = "one thing" hash["Bar"] = "another thing" hash["BAZ"] = "last thing" assert_equal hash["foo"], hash["FOO"] assert_equal hash["BAR"], hash["bar"] assert_equal hash["Baz"], hash["baz"] end end
Version data entries
7 entries across 7 versions & 1 rubygems