You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to assert that any element of an array of strings contains a particular substring.
The assertion ['first', 'second'].should.include.an.item.that.contains 'con' fails with expected 'second' to include 'con'.
Is this supposed to work? Without looking at the internals, I could see how using include in the sense of array elements, and contain in the sense of a substring in one assertion might be confusing.
The text was updated successfully, but these errors were encountered:
I am attempting to assert that any element of an array of strings contains a particular substring.
The assertion
['first', 'second'].should.include.an.item.that.contains 'con'
fails withexpected 'second' to include 'con'
.Is this supposed to work? Without looking at the internals, I could see how using
include
in the sense of array elements, andcontain
in the sense of a substring in one assertion might be confusing.The text was updated successfully, but these errors were encountered: