| Index: pkg/analysis_server/benchmark/perf/performance_tests.dart
|
| diff --git a/pkg/analysis_server/benchmark/perf/performance_tests.dart b/pkg/analysis_server/benchmark/perf/performance_tests.dart
|
| index a926e33c98dedb9cc5cd2c63a46e42fac95bc57d..3dd1842c6a9004a3108bea11ad9a0ef39b70400e 100644
|
| --- a/pkg/analysis_server/benchmark/perf/performance_tests.dart
|
| +++ b/pkg/analysis_server/benchmark/perf/performance_tests.dart
|
| @@ -25,9 +25,8 @@ abstract class AbstractAnalysisServerPerformanceTest
|
| * Send the server an 'analysis.setAnalysisRoots' command directing it to
|
| * analyze [sourceDirectory].
|
| */
|
| - Future setAnalysisRoot() {
|
| - return sendAnalysisSetAnalysisRoots([sourceDirectory.path], []);
|
| - }
|
| + Future setAnalysisRoot() =>
|
| + sendAnalysisSetAnalysisRoots([sourceDirectory.path], []);
|
|
|
| /**
|
| * Enable [SERVER_STATUS] notifications so that [analysisFinished]
|
| @@ -69,7 +68,5 @@ abstract class AbstractAnalysisServerPerformanceTest
|
| * After every test, the server is stopped.
|
| */
|
| @override
|
| - Future tearDown() {
|
| - return shutdownIfNeeded();
|
| - }
|
| + Future tearDown() => shutdownIfNeeded();
|
| }
|
|
|