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

Unified Diff: pkg/analyzer/test/generated/incremental_resolver_test.dart

Issue 982243002: Disable incremental resolution of comments outside function bodies. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/incremental_resolver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/incremental_resolver_test.dart
diff --git a/pkg/analyzer/test/generated/incremental_resolver_test.dart b/pkg/analyzer/test/generated/incremental_resolver_test.dart
index c65b545fb8e0c34adcfd4b23edf7b366c3050b0d..3eb51e3ef47934e9aa0b052887f9aa519f83cc89 100644
--- a/pkg/analyzer/test/generated/incremental_resolver_test.dart
+++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart
@@ -2843,7 +2843,7 @@ main() {
''');
}
- void test_endOfLineComment_header_add() {
+ void test_endOfLineComment_outBody_add() {
_resolveUnit(r'''
main() {
Object x;
@@ -2856,10 +2856,10 @@ main() {
Object x;
x.foo();
}
-''');
+''', expectedSuccess: false);
}
- void test_endOfLineComment_header_remove() {
+ void test_endOfLineComment_outBody_remove() {
_resolveUnit(r'''
// 000
main() {
@@ -2872,10 +2872,10 @@ main() {
Object x;
x.foo();
}
-''');
+''', expectedSuccess: false);
}
- void test_endOfLineComment_header_update() {
+ void test_endOfLineComment_outBody_update() {
_resolveUnit(r'''
// 000
main() {
@@ -2889,7 +2889,7 @@ main() {
Object x;
x.foo();
}
-''');
+''', expectedSuccess: false);
}
void test_endOfLineComment_localFunction_inTopLevelVariable() {
« no previous file with comments | « pkg/analyzer/lib/src/generated/incremental_resolver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698