matcher 0.12.13
matcher: ^0.12.13 copied to clipboard
Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases.
We analyzed this package 3 days ago, and awarded it 80 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/10 points: 20% or more of the public API has dartdoc comments
- 98 out of 105 API elements (93.3 %) have documentation comments.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ MacOS
- ✓ Web
0/30 points: code has no errors, warnings, lints, or formatting issues
ERROR: The name 'CyclicInitializationError' isn't a type, so it can't be used as a type argument.
lib/src/error_matchers.dart:19:49
╷
19 │ const isCyclicInitializationError = TypeMatcher<CyclicInitializationError>();
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/error_matchers.dart
ERROR: The name 'NullThrownError' isn't a type, so it can't be used as a type argument.
lib/src/error_matchers.dart:31:39
╷
31 │ const isNullThrownError = TypeMatcher<NullThrownError>();
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/error_matchers.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
meta |
^1.8.0 |
1.9.1 | 1.9.1 |
stack_trace |
^1.10.0 |
1.11.0 | 1.11.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
path |
- | 1.8.3 | 1.8.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Dart 3 compatibility has one or more issues.
ERROR: The name 'CyclicInitializationError' isn't a type, so it can't be used as a type argument.
lib/src/error_matchers.dart:19:49
╷
19 │ const isCyclicInitializationError = TypeMatcher<CyclicInitializationError>();
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using Dart 3 and run dart analyze lib/src/error_matchers.dart
ERROR: The name 'NullThrownError' isn't a type, so it can't be used as a type argument.
lib/src/error_matchers.dart:31:39
╷
31 │ const isNullThrownError = TypeMatcher<NullThrownError>();
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using Dart 3 and run dart analyze lib/src/error_matchers.dart
Analysed with Pana 0.21.32
, Dart 3.0.0
.