| Index: tests/language/rethrow_test.dart
|
| diff --git a/tests/language/rethrow_test.dart b/tests/language/rethrow_test.dart
|
| index 021a0fce58a316608bcc8bbac2508d3d39e3cf97..60c055ce53890675a7c8f727e07e13890d8864db 100644
|
| --- a/tests/language/rethrow_test.dart
|
| +++ b/tests/language/rethrow_test.dart
|
| @@ -26,7 +26,7 @@ class RethrowTest {
|
| throwException();
|
| Expect.fail("Should have thrown an exception");
|
| } catch (e) {
|
| - Expect.equals(true, e === currentException);
|
| + Expect.equals(true, identical(e, currentException));
|
| throw;
|
| Expect.fail("Should have thrown an exception");
|
| }
|
| @@ -34,7 +34,7 @@ class RethrowTest {
|
| Expect.fail("Should not have caught OtherException");
|
| }
|
| } catch (e) {
|
| - Expect.equals(true, e === currentException);
|
| + Expect.equals(true, identical(e, currentException));
|
| }
|
| }
|
|
|
| @@ -44,12 +44,12 @@ class RethrowTest {
|
| throwException();
|
| Expect.fail("Should have thrown an exception");
|
| } catch (e) {
|
| - Expect.equals(true, e === currentException);
|
| + Expect.equals(true, identical(e, currentException));
|
| throw;
|
| Expect.fail("Should have thrown an exception");
|
| }
|
| } catch (e) {
|
| - Expect.equals(true, e === currentException);
|
| + Expect.equals(true, identical(e, currentException));
|
| }
|
| }
|
| }
|
|
|