Ensure args are not equal

assert_not_equal  arg1 (anything), arg2 (anything)

Raises an exception if both arguments are qual.

Introduced in v3.3

Examples

# Example 1


assert_not_equal 1, 3
assert_not_equal 1, -1
assert_not_equal 1, :foo



# Simple assertions
 
 
 



# Example 2


assert_not_equal 3, 3, "something is seriously wrong!"



# Add messages to the exceptions