diff --git a/CHANGELOG.md b/CHANGELOG.md index 9881978d3f8d87f849e762ca5cacb7b7d214aed2..d5d95a614b9152ae01708529da4bb5c7f0947ccd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.12.18+2 + +* Fix analysis errors having to do with the `expectAsync()` function. + ## 0.12.18+1 * Fix the deprecated `expectAsync()` function. The deprecation caused it to diff --git a/lib/src/frontend/expect_async.dart b/lib/src/frontend/expect_async.dart index b0c0063e7d8890a4359ec5472edcaa0b877bebb4..af0f16b74eabc96e0508bfb1cfce21e19b8c6df0 100644 --- a/lib/src/frontend/expect_async.dart +++ b/lib/src/frontend/expect_async.dart @@ -25,12 +25,12 @@ typedef T Func6<T, A, B, C, D, E, F>([A a, B b, C c, D d, E e, F f]); // ([dynamic]) -> dynamic. typedef _Func0(); -typedef _Func1(A a); -typedef _Func2(A a, B b); -typedef _Func3(A a, B b, C c); -typedef _Func4(A a, B b, C c, D d); -typedef _Func5(A a, B b, C c, D d, E e); -typedef _Func6(A a, B b, C c, D d, E e, F f); +typedef _Func1(a); +typedef _Func2(a, b); +typedef _Func3(a, b, c); +typedef _Func4(a, b, c, d); +typedef _Func5(a, b, c, d, e); +typedef _Func6(a, b, c, d, e, f); typedef bool _IsDoneCallback(); diff --git a/pubspec.yaml b/pubspec.yaml index 150ab3df4e33bb1fbf328d727d30f767ca87bbc5..20bbdfe929416429ee3d4e2c730bfe18ddcc8937 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: test -version: 0.12.18+1 +version: 0.12.18+2 author: Dart Team <misc@dartlang.org> description: A library for writing dart unit tests. homepage: https://github.com/dart-lang/test