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 |
Returns a passing (0) or failing (1) exit code if both parameters match. Command outputs nothing.
Comparison is case insensitive.
assertEqual `package show name` "My Package" || package set name="My Package"Values are not trimmed, but you can trim them if you want
assertEqual ${ENVIRONMENT} production && install --production
assertEqual "brad" `ECHO " BRAD " | #trim` && ECHO HI