matcher
matcher copied to clipboard
matchers: rename "predicate" to "satisfies"
<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#11919
expect(5, satisfies((i) => i.isOdd));
reads better than:
expect(5, predicate((i) => i.isOdd));
<img src="https://avatars.githubusercontent.com/u/5449880?v=3" align="left" width="48" height="48"hspace="10"> Comment by iposva-google
Added Area-Pkg, Triaged labels.
<img src="https://avatars.githubusercontent.com/u/5479?v=3" align="left" width="48" height="48"hspace="10"> Comment by sethladd
Removed Type-Defect, Priority-Unassigned labels. Added Type-Enhancement, Priority-Low, PatchesWelcome, Pkg-matcher, labels.
<img src="https://avatars.githubusercontent.com/u/5479?v=3" align="left" width="48" height="48"hspace="10"> Comment by sethladd
Added Triaged label.