method

assert_not_nil

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

No documentation available.

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