assertNotEqual

Parameters:
Name Type Required Default Hint
value1 string true A value to be compared to value2
value2 string true A value to be compared to value1

Command Usage

Returns a passing (0) or failing (1) exit code if parameters do not match. Command outputs nothing.
Comparison is case insensitive.

assertNotEqual `package show name` "My Package" && package set name="My Package"

assertNotEqual ${ENVIRONMENT} development && install --production