Skip to content

producesOnly<A>

MatcherproducesOnly<A>(Aa)

Matches a Rill that emits exactly the single element a.

Shorthand for producesInOrder([a]).

dart
expect(Rill.emit(42), producesOnly(42));