Permalink
Browse files

Better test name in the java interop koan

  • Loading branch information...
1 parent 1a0d82a commit db3bbdcf45980f16f7620498a75bf86646ffc8ac @jimweirich jimweirich committed Dec 23, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 koans/about_java_interop.rb
  2. +1 −1 src/about_java_interop.rb
@@ -102,7 +102,7 @@ def test_some_ruby_objects_can_be_coerced_to_java
assert_equal __, false.to_java.class
end
- def test_some_ruby_objects_can_NOT_be_coerced_to_java
+ def test_some_ruby_objects_are_not_coerced_to_what_you_might_expect
assert_equal __, [].to_java.class == Java::JavaUtil::ArrayList
assert_equal __, {}.to_java.class == Java::JavaUtil::HashMap
assert_equal __, Object.new.to_java.class == Java::JavaLang::Object
@@ -102,7 +102,7 @@ def test_some_ruby_objects_can_be_coerced_to_java
assert_equal __(Java::JavaLang::Boolean), false.to_java.class
end
- def test_some_ruby_objects_can_NOT_be_coerced_to_java
+ def test_some_ruby_objects_are_not_coerced_to_what_you_might_expect
assert_equal __(false), [].to_java.class == Java::JavaUtil::ArrayList
assert_equal __(false), {}.to_java.class == Java::JavaUtil::HashMap
assert_equal __(false), Object.new.to_java.class == Java::JavaLang::Object

0 comments on commit db3bbdc

Please sign in to comment.