test/test-schema.rb in red-arrow-0.12.0 vs test/test-schema.rb in red-arrow-0.13.0
- old
+ new
@@ -98,7 +98,21 @@
assert_raise(ArgumentError.new(message)) do
@schema[invalid]
end
end
end
+
+ sub_test_case("#==") do
+ test("Arrow::Schema") do
+ assert do
+ @schema == @schema
+ end
+ end
+
+ test("not Arrow::Schema") do
+ assert do
+ not (@schema == 29)
+ end
+ end
+ end
end
end