test/test-array-builder.rb in red-arrow-5.0.0 vs test/test-array-builder.rb in red-arrow-6.0.0
- old
+ new
@@ -26,9 +26,16 @@
test("strings") do
assert_build(Arrow::ArrayBuilder,
["Hello", nil, "World"])
end
+ test("symbols") do
+ array = Arrow::ArrayBuilder.build([:hello, nil, :world])
+ expected_builder = Arrow::StringDictionaryArrayBuilder.new
+ assert_equal(expected_builder.build(["hello", nil, "world"]),
+ array)
+ end
+
test("boolean") do
assert_build(Arrow::ArrayBuilder,
[true, nil, false])
end