Index: pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart |
diff --git a/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart b/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart |
index 3735f827fb65c7c1ff75fbb31b19fd8f84a3b855..1c2245961e0bf335146df46906b31ab45c4eb3e3 100644 |
--- a/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart |
+++ b/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart |
@@ -62,8 +62,8 @@ class PatternDescriptor extends Descriptor { |
var descriptor = _fn(path.basename(entry)); |
return descriptor.validateNow(parent).then((_) { |
return new Pair(null, descriptor.describe()); |
- }).catchError((e) { |
- return new Pair(e.error.toString(), descriptor.describe()); |
+ }).catchError((error) { |
+ return new Pair(error.toString(), descriptor.describe()); |
}); |
})).then((results) { |
var matches = results.where((result) => result.first == null).toList(); |