Description

NotContains asserts that the specified string does NOT contain the specified substring.

assert.NotContains("Hello World", "Earth", "But 'Hello World' does NOT contain 'Earth'")

Returns whether the assertion was successful (true) or not (false).

NotContains is referenced in 0 repositories