Asserts that the string does not have the specified length.

expect('Hello world', 'not to have length', 12);