test/test-context.rb in groonga-0.0.5 vs test/test-context.rb in groonga-0.0.6

- old
+ new

@@ -52,11 +52,17 @@ "encoding: <#{Groonga::Encoding.default.inspect}>, " + "database: <#{db.inspect}>>", context.inspect) end - def test_array_reference + def test_array_reference_by_string Groonga::Database.create context = Groonga::Context.default assert_equal("Int32", context["<int>"].name) + end + + def test_array_reference_by_symbol + Groonga::Database.create + context = Groonga::Context.default + assert_equal("Bool", context[:Bool].name) end end