From 0470bef7e83779072b65cb3bd1c0f82ad35c19cd Mon Sep 17 00:00:00 2001 From: "vegorov@google.com" Date: Mon, 3 Feb 2014 13:51:59 +0000 Subject: [PATCH] Fix html/js test on Dartium. Don't use identity check on strings, use equality instead. R=kasperl@google.com BUG= Review URL: https://codereview.chromium.org//136953005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32245 260f80e4-7a28-3924-810f-c04153c831b5 --- tests/html/js_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/html/js_test.dart b/tests/html/js_test.dart index 39cff4c5cfc..ba5d00746d8 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')); }); });