Skip to content

matchers: rename "predicate" to "satisfies" #2332

Open
@DartBot

Description

@DartBot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributions-welcomeContributions welcome to help resolve this (the resolution is expected to be clear from the issue)package:matchertype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions