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

Unified Diff: pkg/analysis_server/test/integration/analysis/error_test.dart

Issue 700323004: Fix integration test to avoid new 'Unused local variable' hint. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/integration/analysis/error_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/error_test.dart b/pkg/analysis_server/test/integration/analysis/error_test.dart
index bb7078daefcabb9f1847754981df0706fc4c0fff..21330d7f24fc29cf746fc218f477272dec07e72f 100644
--- a/pkg/analysis_server/test/integration/analysis/error_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/error_test.dart
@@ -18,7 +18,7 @@ class AnalysisErrorIntegrationTest extends AbstractAnalysisServerIntegrationTest
writeFile(pathname,
'''
main() {
- var x // parse error: missing ';'
+ print(null) // parse error: missing ';'
}''');
standardAnalysisSetup();
return analysisFinished.then((_) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698