Skip to content

Commit

Permalink
Don't make the library appear deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
natebosch committed Nov 8, 2024
1 parent a78a8c3 commit 27abf7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/test/lib/test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// Library directive avoids confusing the deprecation for the entire library.
// ignore: unnecessary_library_directive
library;

@Deprecated('import `package:matcher/expect.dart`')
export 'package:matcher/expect.dart';
Expand Down

0 comments on commit 27abf7f

Please sign in to comment.