method

assert_not_nil

v1_9_1_378 - Show latest stable - Class: Test::Unit::Assertions
assert_not_nil(exp, msg=nil)
public

No documentation available.

# 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