test instead of unittest pkg.Moved a number of members to the unittest package.
TestFailure, ErrorFormatter, expect, fail, and ‘wrapAsync’.completes, completion, throws, and throwsA Matchers.Throws class.throws...Error Matchers.Removed FailureHandler, DefaultFailureHandler, configureExpectFailureHandler, and getOrCreateExpectFailureHandler. Now that expect is in the unittest package, these are no longer needed.
Removed the name parameter for isInstanceOf. This was previously deprecated, and is no longer necessary since all language implementations now support converting the type parameter to a string directly.
isInstanceOf. All language implementations now support converting the type parameter to a string directly.equalsIgnoringWhitespace.Strings containing characters that must be represented as escape sequences.isEmpty and isNotEmpty matchers and simply access the isEmpty respectively isNotEmpty fields. This allows them to work with custom collections. See Issue 21792 and Issue 21562prints matcher test on dart2js.prints matcher that matches output a callback emits via print.isNotEmpty matcher.Refactored libraries and tests.
Fixed spelling mistake.
isNaN and isNotNaN matchers.equals().@deprecated annotation on matchers due to Issue 19173Matchers related to bad language use have been removed. These represent code structure that should rarely or never be validated in tests.
isAbstractClassInstantiationErrorthrowsAbstractClassInstantiationErrorisFallThroughErrorthrowsFallThroughErrorAdded types to a number of method arguments.
The structure of the library and test code has been updated.