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

Unified Diff: pkg/analyzer/test/src/dart/analysis/search_test.dart

Issue 2653683004: Stop using SDK summary bundle. Analyze dart:xxx as any other libraries. (Closed)
Patch Set: Restore optional SDK bundle. Created 3 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
Index: pkg/analyzer/test/src/dart/analysis/search_test.dart
diff --git a/pkg/analyzer/test/src/dart/analysis/search_test.dart b/pkg/analyzer/test/src/dart/analysis/search_test.dart
index 74616121ba88b2905d06adc9d9056676f199cd10..2cdd669b6e1c64860dfa77f6befb45493a32067c 100644
--- a/pkg/analyzer/test/src/dart/analysis/search_test.dart
+++ b/pkg/analyzer/test/src/dart/analysis/search_test.dart
@@ -1048,15 +1048,15 @@ class A {} // A
class B = Object with A;
typedef C();
D() {}
-var E = null;
+var e = null;
class NoMatchABCDE {}
''');
Element a = _findElement('A');
Element b = _findElement('B');
Element c = _findElement('C');
Element d = _findElement('D');
- Element e = _findElement('E');
- RegExp regExp = new RegExp(r'^[A-E]$');
+ Element e = _findElement('e');
+ RegExp regExp = new RegExp(r'^[ABCDe]$');
expect(await driver.search.topLevelElements(regExp),
unorderedEquals([a, b, c, d, e]));
}

Powered by Google App Engine
This is Rietveld 408576698