class Test::Unit::TestAssertions::TestAssertEqual::TestSuccess

Public Instance Methods

test_with_message() click to toggle source
# File test-unit-3.3.4/test/test-assertions.rb, line 164
def test_with_message
  check_nothing_fails {
    assert_equal("string1", "string1", "successful assert_equal")
  }
end
test_without_message() click to toggle source
# File test-unit-3.3.4/test/test-assertions.rb, line 158
def test_without_message
  check_nothing_fails {
    assert_equal("string1", "string1")
  }
end