Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1956)

Unified Diff: dart/tests/compiler/dart2js_native/hash_code_test.dart

Issue 10965034: Implement Object.hashCode() (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update dart2dart status Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/tests/co19/co19-dart2dart.status ('k') | dart/tests/language/hash_code_mangling_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/compiler/dart2js_native/hash_code_test.dart
diff --git a/dart/tests/compiler/dart2js_native/native_to_string_frog_test.dart b/dart/tests/compiler/dart2js_native/hash_code_test.dart
similarity index 88%
copy from dart/tests/compiler/dart2js_native/native_to_string_frog_test.dart
copy to dart/tests/compiler/dart2js_native/hash_code_test.dart
index a21ff2ebfb9b31b848cbfa397bf91ee36ca2ef71..af4344167114741104e3e0531485fcd3c90b83c9 100644
--- a/dart/tests/compiler/dart2js_native/native_to_string_frog_test.dart
+++ b/dart/tests/compiler/dart2js_native/hash_code_test.dart
@@ -10,8 +10,7 @@ function A() {}
makeA = function(){return new A;};
""";
-
main() {
setup();
- Expect.isTrue(makeA().toString() is String);
+ Expect.isTrue(makeA().hashCode() is int);
}
« no previous file with comments | « dart/tests/co19/co19-dart2dart.status ('k') | dart/tests/language/hash_code_mangling_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698