zefyr

matchers.dart 425B

123456789101112
  1. // Copyright (c) 2018, the Zefyr project authors. Please see the AUTHORS file
  2. // for details. All rights reserved. Use of this source code is governed by a
  3. // BSD-style license that can be found in the LICENSE file.
  4. import 'package:test/test.dart';
  5. const isAssertionError = const TypeMatcher<AssertionError>();
  6. const Matcher throwsAssertionError =
  7. // ignore: deprecated_member_use
  8. const Throws(isAssertionError);