Skip to content

Add `assertNotNil` and `assertNonWhiteSpaceString`

Choose a tag to compare

@terodox terodox released this 08 Sep 16:53
· 9 commits to master since this release

The two new asserts help round out the assertions already offered.

  • assertNotNil
    • Will throw if provided null or undefined
  • assertNonWhiteSpaceString
    • Will throw if value is not a string
    • Will throw if value is a string, but is either empty, or all whitespace characters