| Index: pkg/scheduled_test/test/descriptor/pattern_test.dart
|
| diff --git a/pkg/scheduled_test/test/descriptor/pattern_test.dart b/pkg/scheduled_test/test/descriptor/pattern_test.dart
|
| index 7bd33a37283d90225b4f29fde2856610f5812082..97249efdcc0a68d9842e4f3e31511fbe3186de91 100644
|
| --- a/pkg/scheduled_test/test/descriptor/pattern_test.dart
|
| +++ b/pkg/scheduled_test/test/descriptor/pattern_test.dart
|
| @@ -68,7 +68,7 @@ void main() {
|
| test('test 2', () {
|
| expect(errors, everyElement(new isInstanceOf<ScheduleError>()));
|
| expect(errors.length, equals(1));
|
| - expect(errors.first.error,
|
| + expect(errors.first.error.toString(),
|
| matches(r"^No entry found in '[^']+' matching /f\.\./\.$"));
|
| });
|
| }, passing: ['test 2']);
|
| @@ -90,7 +90,7 @@ void main() {
|
| test('test 2', () {
|
| expect(errors, everyElement(new isInstanceOf<ScheduleError>()));
|
| expect(errors.length, equals(1));
|
| - expect(errors.first.error,
|
| + expect(errors.first.error.toString(),
|
| matches(r"^Caught error\n"
|
| r"| File 'foo' should contain:\n"
|
| r"| | bar\n"
|
| @@ -123,7 +123,7 @@ void main() {
|
| test('test 2', () {
|
| expect(errors, everyElement(new isInstanceOf<ScheduleError>()));
|
| expect(errors.length, equals(1));
|
| - expect(errors.first.error,
|
| + expect(errors.first.error.toString(),
|
| matches(r"^Caught error\n"
|
| r"| File 'bar' should contain:\n"
|
| r"| | baz\n"
|
| @@ -154,7 +154,7 @@ void main() {
|
| test('test 2', () {
|
| expect(errors, everyElement(new isInstanceOf<ScheduleError>()));
|
| expect(errors.length, equals(1));
|
| - expect(errors.first.error, matches(
|
| + expect(errors.first.error.toString(), matches(
|
| r"^Multiple valid entries found in '[^']+' matching "
|
| r"\/f\.\./:\n"
|
| r"\* faa\n"
|
|
|