Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: FEST-Assert 1.2
-
Fix Version/s: FEST-Assert 1.3
-
Component/s: Assert
-
Labels:None
-
Number of attachments :
Description
I've just came across this in my code:
assertThat(someString).doesNotContain("foo");
However, there is no doesNotContain method
I worked around using this (but it is not as nice):
assertThat(someString).doesNotMatch(".foo.");
Can we add doesNotContain method?
I meant:
assertThat(someString).doesNotMatch(".*foo.*");assertThat(someString).doesNotMatch(".*foo.*");