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 think an inverse of the "contains" Matcher would be even more useful, since the Collection/Map/String is more likely the pattern you want to match against. Could call it "in":
<img src="https://avatars.githubusercontent.com/u/444270?v=3" align="left" width="96" height="96"hspace="10"> Issue by seaneagan
Originally opened as dart-lang/sdk#3679
I think an inverse of the "contains" Matcher would be even more useful, since the Collection/Map/String is more likely the pattern you want to match against. Could call it "in":
Matcher in(container);
//e.g.
expect(x, in([1, 2, 3]));
expect(k, in({"x": 1, "y": 2, "z": 3}));
expect(s, in("xyz"));
The text was updated successfully, but these errors were encountered: