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

Unified Diff: tests/html/js_test.dart

Issue 136953005: Fix html/js test on Dartium. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/js_test.dart
diff --git a/tests/html/js_test.dart b/tests/html/js_test.dart
index 39cff4c5cfc43d2315d7d8340be657f2f200bfa8..ba5d00746d811f6884f9020d031cb891e3ef9f9a 100644
--- a/tests/html/js_test.dart
+++ b/tests/html/js_test.dart
@@ -295,9 +295,9 @@ main() {
// Test that we are not pulling cached proxy from the prototype
// when asking for a proxy for the object.
final proto = context['someProto'];
- expect(proto['role'], same('proto'));
+ expect(proto['role'], equals('proto'));
final obj = context['someObject'];
- expect(obj['role'], same('object'));
+ expect(obj['role'], equals('object'));
});
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698