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

Unified Diff: tests/lib_strong/html/documentfragment_test.dart

Issue 2456803004: fixes #27586, prefer context type in generic inference (Closed)
Patch Set: fix Created 3 years, 9 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: tests/lib_strong/html/documentfragment_test.dart
diff --git a/tests/lib_strong/html/documentfragment_test.dart b/tests/lib_strong/html/documentfragment_test.dart
index 3b5249fba578243564eeef0804418774e3c14140..1f7a861de80f497534548467c9430dad4ffb8ee3 100644
--- a/tests/lib_strong/html/documentfragment_test.dart
+++ b/tests/lib_strong/html/documentfragment_test.dart
@@ -173,6 +173,7 @@ main() {
var fragment = new DocumentFragment.html(
"<div class='foo'><a>foo</a><b>bar</b></div>");
expect(fragment.query(".foo a").tagName, "A");
- expect(_nodeStrings(fragment.queryAll(".foo *")), equals(["A", "B"]));
+ expect(_nodeStrings(fragment.queryAll<Element>(".foo *")),
+ equals(["A", "B"]));
});
}
« no previous file with comments | « tests/language_strong/recursive_inheritance_test.dart ('k') | tests/lib_strong/html/event_customevent_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698