lib/test/unit/testcase.rb in test-unit-2.4.1 vs lib/test/unit/testcase.rb in test-unit-2.4.2
- old
+ new
@@ -487,9 +487,10 @@
# It's handy to be able to compare TestCase instances.
def ==(other)
return false unless other.kind_of?(self.class)
return false unless @method_name == other.method_name
+ return false unless data_label == other.data_label
self.class == other.class
end
# Returns a Time at the test was started.
def start_time