lib/test/unit/testcase.rb in test-unit-2.3.0 vs lib/test/unit/testcase.rb in test-unit-2.3.1

- old
+ new

@@ -255,10 +255,10 @@ n_arguments = test_description_or_targets.size if n_arguments > 1 message = "wrong number of arguments (#{n_arguments} for 1)" raise ArgumentError, message end - method_name = test_description + method_name = "test: #{test_description}" define_method(method_name, &block) description(test_description, method_name) attribute(:test, true, {}, method_name) else targets = test_description_or_targets