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

Unified Diff: test/codegen/expect/collection/src/priority_queue.js

Issue 1710583002: Fix tests (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Fix hints and reformat Created 4 years, 10 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
Index: test/codegen/expect/collection/src/priority_queue.js
diff --git a/test/codegen/expect/collection/src/priority_queue.js b/test/codegen/expect/collection/src/priority_queue.js
index bcf114a733ebbdc076cd8412b0769fc96ba4dbf6..905e53297fbebb9d768859651365933447e3b6de 100644
--- a/test/codegen/expect/collection/src/priority_queue.js
+++ b/test/codegen/expect/collection/src/priority_queue.js
@@ -31,7 +31,7 @@ dart_library.library('collection/src/priority_queue', null, /* Imports */[
HeapPriorityQueue(comparison) {
if (comparison === void 0) comparison = null;
this[_queue] = core.List$(E).new(HeapPriorityQueue$()._INITIAL_CAPACITY);
- this.comparison = dart.as(comparison != null ? comparison : core.Comparable.compare, core.Comparator);
+ this.comparison = comparison != null ? comparison : core.Comparable.compare;
this[_length] = 0;
}
add(element) {
« no previous file with comments | « test/codegen/expect/collection/src/equality.txt ('k') | test/codegen/expect/collection/src/priority_queue.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698