Revert matcher package (#18614)

The new matcher package deprecates isInstanceOf which seems eggregious.
This commit is contained in:
Ian Hickson
2018-06-19 17:22:56 -07:00
committed by GitHub
parent 0f2e50bb87
commit 6599271bf5
73 changed files with 232 additions and 225 deletions

View File

@@ -16,7 +16,7 @@ void main() {
test('parsePixels', () {
expect(parsePixels('23px'), 23);
expect(parsePixels('9px'), 9);
expect(() { parsePixels('9pt'); }, throwsA(const TypeMatcher<ArgumentError>()));
expect(() { parsePixels('9pt'); }, throwsA(isInstanceOf<ArgumentError>()));
});
test('parsePoints', () {