An error occurred while loading commit signatures
  • Nate Bosch's avatar
    Remove uses of deprecated test_api imports (#124732) · dcfd35f8
    Nate Bosch authored
    Most of these imports were never appropriate. The `test_api` package was never intended for use in `_test.dart` files.
    Where possible move imports to `matcher`, otherwise move them to `test` or `flutter_test`.
    
    Leave uses of `test_api` from `flutter_test` library code.
    dcfd35f8
trivial_test.dart 300 Bytes
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;

void main() {
  test('Trivial test', () {
    expect(42, 42);
  });
}