This method is deprecated or moved on the latest stable version.
The last existing version (v2_1_10) is shown here.
assert_not_nil(exp, msg=nil)
public
Tests if expression is not nil.
An optional failure message may be provided as
the final argument.
# File lib/test/unit/assertions.rb, line 259
def assert_not_nil(exp, msg=nil)
msg = message(msg) { "<#{mu_pp(exp)}> expected to not be nil" }
assert(!exp.nil?, msg)
end