Index: tests/standalone/package/packages/package1.dart |
diff --git a/tests/standalone/package/packages/package1.dart b/tests/standalone/package/packages/package1.dart |
index c409ec5fc74d13dce3d338815ee4540afa083043..d0a6081622cff50cfe343da9d47c4dd18160002f 100644 |
--- a/tests/standalone/package/packages/package1.dart |
+++ b/tests/standalone/package/packages/package1.dart |
@@ -9,6 +9,10 @@ import 'package2.dart' as p2; |
import 'package:package2.dart' as p3; |
main() { |
- Expect.identical(p1.x, p2.x); |
- Expect.identical(p1.x, p3.x); |
+ if (!identical(p1.x, p2.x)) { |
+ throw new Error("Not identical"); |
+ } |
+ if (!identical(p1.x, p3.x)) { |
+ throw new Error("Not identical"); |
+ } |
} |