Index: runtime/vm/dart_api_impl_test.cc |
=================================================================== |
--- runtime/vm/dart_api_impl_test.cc (revision 27544) |
+++ runtime/vm/dart_api_impl_test.cc (working copy) |
@@ -199,11 +199,6 @@ |
// Different objects. |
EXPECT(!Dart_IdentityEquals(five, seven)); |
- // Case where identical() is not the same as pointer equality. |
- Dart_Handle nan1 = Dart_NewDouble(0.0/0.0); |
- Dart_Handle nan2 = Dart_NewDouble(0.0/0.0); |
- EXPECT(Dart_IdentityEquals(nan1, nan2)); |
- |
// Non-instance objects. |
{ |
Isolate* isolate = Isolate::Current(); |
@@ -214,10 +209,6 @@ |
EXPECT(Dart_IdentityEquals(class1, class1)); |
EXPECT(!Dart_IdentityEquals(class1, class2)); |
- |
- // Mix instance and non-instance. |
- EXPECT(!Dart_IdentityEquals(class1, nan1)); |
- EXPECT(!Dart_IdentityEquals(nan1, class1)); |
} |
} |
@@ -239,11 +230,6 @@ |
// Different objects. |
EXPECT_VALID(Dart_ObjectEquals(five, seven, &equal)); |
EXPECT(!equal); |
- |
- // Case where == is not the same as pointer equality. |
- Dart_Handle nan = Dart_NewDouble(0.0/0.0); |
- EXPECT_VALID(Dart_ObjectEquals(nan, nan, &equal)); |
- EXPECT(!equal); |
} |