| Index: pkg/unittest/test/matchers_test.dart
|
| ===================================================================
|
| --- pkg/unittest/test/matchers_test.dart (revision 24503)
|
| +++ pkg/unittest/test/matchers_test.dart (working copy)
|
| @@ -65,7 +65,7 @@
|
| shouldFail(doesNotThrow, throws,
|
| matches(
|
| r"Expected: throws"
|
| - r" Actual: <Closure(: \(dynamic\) => dynamic "
|
| + r" Actual: <Closure(: \(\) => dynamic "
|
| r"from Function 'doesNotThrow': static\.)?>"
|
| r" Which: did not throw"));
|
| shouldPass(doesThrow, throws);
|
| @@ -80,7 +80,7 @@
|
| shouldFail(doesThrow, throwsA(equals('Y')),
|
| matches(
|
| r"Expected: throws 'Y'"
|
| - r" Actual: <Closure(: \(dynamic\) => dynamic "
|
| + r" Actual: <Closure(: \(\) => dynamic "
|
| r"from Function 'doesThrow': static\.)?>"
|
| r" Which: threw 'X'"));
|
| });
|
| @@ -90,7 +90,7 @@
|
| shouldFail(doesThrow, returnsNormally,
|
| matches(
|
| r"Expected: return normally"
|
| - r" Actual: <Closure(: \(dynamic\) => dynamic "
|
| + r" Actual: <Closure(: \(\) => dynamic "
|
| r"from Function 'doesThrow': static\.)?>"
|
| r" Which: threw 'X'"));
|
| });
|
|
|