method

assert_nil

Importance_1
v1_8_7_330 - Show latest stable - 0 notes - Class: Test::Unit::Assertions
assert_nil(object, message="") public

Passes if object is nil.

Example:

assert_nil [1, 2].uniq!
Show source
Register or log in to add new notes.