method
assert_not_nil
assert_not_nil(exp, msg=nil)
public
Hide source
# File lib/test/unit/assertions.rb, line 89 def assert_not_nil(exp, msg=nil) msg = message(msg) { "<#{mu_pp(exp)}> expected to not be nil" } assert(!exp.nil?, msg) end


