| Index: pkg/unittest/expect.dart
|
| diff --git a/pkg/unittest/expect.dart b/pkg/unittest/expect.dart
|
| index 64fff95c8b33fc87092898e2bbf0b4d9965eb052..4ef7a56e9e2a6939a8c9f5acbec5aa39b3474151 100644
|
| --- a/pkg/unittest/expect.dart
|
| +++ b/pkg/unittest/expect.dart
|
| @@ -41,7 +41,7 @@ void expect(actual, [matcher = isTrue, String reason = null,
|
| var matchState = new MatchState();
|
| try {
|
| doesMatch = matcher.matches(actual, matchState);
|
| - } catch (var e, var trace) {
|
| + } catch (e, trace) {
|
| doesMatch = false;
|
| if (reason == null) {
|
| reason = '${(e is String) ? e : e.toString()} at $trace';
|
|
|