diff options
-rw-r--r-- | test/ruby/test_struct.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_struct.rb b/test/ruby/test_struct.rb index 3d07d68066..b213778b61 100644 --- a/test/ruby/test_struct.rb +++ b/test/ruby/test_struct.rb @@ -287,13 +287,13 @@ module TestStruct def test_question_mark_in_member klass = @Struct.new(:a, :b?) o = klass.new("test", true) - assert_true(o.b?) + assert_predicate(o, :b?) end def test_bang_mark_in_member klass = @Struct.new(:a, :b!) o = klass.new("test", true) - assert_true(o.b!) + assert_predicate(o, :b!) end class TopStruct < Test::Unit::TestCase |