MCPcopy Create free account
hub / github.com/apache/arrow / test_diff

Method test_diff

c_glib/test/test-array.rb:143–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 end
142
143 def test_diff
144 array = build_string_array(["Start", "Shutdown", "Reboot"])
145 other_array = build_string_array(["Start", "Running", "Reboot"])
146 assert_equal(<<-STRING.chomp, array.diff_unified(other_array))
147
148@@ -1, +1 @@
149-"Shutdown"
150+"Running"
151
152 STRING
153 end
154
155 def test_different_type
156 array = build_string_array(["Start", "Shutdown", "Reboot"])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected