throwsArgumentError top-level constant

Matcher const throwsArgumentError

A matcher for functions that throw ArgumentError.

See throwsA for objects that this can be matched against.

Implementation

const Matcher throwsArgumentError = Throws(isArgumentError);