| Index: pkg/unittest/test/pretty_print_test.dart
|
| diff --git a/pkg/unittest/test/pretty_print_test.dart b/pkg/unittest/test/pretty_print_test.dart
|
| index f17040a89222d0f4cb4b7abfc9b148d895c8f09c..7d5eda90ae8b17dbba8a562de4a91df246baad8a 100644
|
| --- a/pkg/unittest/test/pretty_print_test.dart
|
| +++ b/pkg/unittest/test/pretty_print_test.dart
|
| @@ -27,7 +27,8 @@ void main() {
|
| expect(prettyPrint(12.13), equals('<12.13>'));
|
| expect(prettyPrint(true), equals('<true>'));
|
| expect(prettyPrint(null), equals('<null>'));
|
| - expect(prettyPrint(() => 12), equals('<Closure: (dynamic) => dynamic>'));
|
| + expect(prettyPrint(() => 12),
|
| + matches(r'<Closure(: \(dynamic\) => dynamic)?>'));
|
| });
|
|
|
| test('with an object with a default [toString]', () {
|
|
|