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

Unified Diff: test/browser/runtime_tests.js

Issue 1156273010: fixes browser/runtime_test, and a few extension member fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged & format Created 5 years, 6 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 | « test/browser/index.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/browser/runtime_tests.js
diff --git a/test/browser/runtime_tests.js b/test/browser/runtime_tests.js
index e8d6ad944abad64bb7ad8193cb6acd71c67ca9b8..2f12238644eea8b387e7af4b3179fa2f15c75503 100644
--- a/test/browser/runtime_tests.js
+++ b/test/browser/runtime_tests.js
@@ -75,8 +75,8 @@ suite('generic', () => {
test('proper type constructor is called', () => {
// This tests https://github.com/dart-lang/dev_compiler/issues/178
- let l = dart.setType([1, 2, 3], core.List$(core.int));
- let s = l[core.$join]();
+ let l = dart.list([1, 2, 3], core.int);
+ let s = l[dartx.join]();
assert.equal(s, '123');
});
});
@@ -600,9 +600,9 @@ suite('instanceOf', () => {
// Tear off of a method with a symbol name
let listB = new (c.ListBase$(core.int))();
- checkType(dart.bind(listB, core.$add),
+ checkType(dart.bind(listB, dartx.add),
dart.functionType(dart.void, [core.int]));
- checkType(dart.bind(listB, core.$add),
+ checkType(dart.bind(listB, dartx.add),
dart.functionType(dart.void, [core.String]), false);
// Tear off of a static method
« no previous file with comments | « test/browser/index.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698