matcher icon indicating copy to clipboard operation
matcher copied to clipboard

matchers: rename "predicate" to "satisfies"

Open DartBot opened this issue 9 years ago • 3 comments

<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));

DartBot avatar Jun 05 '15 22:06 DartBot

<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.

DartBot avatar Jun 05 '15 22:06 DartBot