Fails with the message:
Expected: 'Hello'
Actual: ''
Which: is different. Both strings start the same, but the given value is missing the following trailing characters: Hello
It seems weird to say that the strings start the same when one of them is empty.
expect('', 'Hello')
Fails with the message: Expected: 'Hello' Actual: '' Which: is different. Both strings start the same, but the given value is missing the following trailing characters: Hello
It seems weird to say that the strings start the same when one of them is empty.