blob: 53b057772ed4b09f18cb86083d3cd6b96f0cf116 [file] [log] [blame]
Ian Hickson686d8f82018-08-14 20:33:58 -07001// Copyright 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Jonah Williams23a75352018-11-06 09:12:48 -08005import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
6import 'package:test/test.dart' as test_package show TypeMatcher;
Ian Hickson686d8f82018-08-14 20:33:58 -07007
Jonah Williams23a75352018-11-06 09:12:48 -08008export 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
Ian Hickson686d8f82018-08-14 20:33:58 -07009
10// Defines a 'package:test' shim.
11// TODO(ianh): Remove this file once https://github.com/dart-lang/matcher/issues/98 is fixed
12
13/// A matcher that compares the type of the actual value to the type argument T.
Alexandre Ardhuine2d0b062018-09-18 05:54:03 +020014Matcher isInstanceOf<T>() => test_package.TypeMatcher<T>();