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

Unified Diff: pkg/analyzer/test/src/task/model_test.dart

Issue 975453004: Reformat (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/test/src/task/manager_test.dart ('k') | pkg/analyzer/test/src/task/test_support.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/task/model_test.dart
diff --git a/pkg/analyzer/test/src/task/model_test.dart b/pkg/analyzer/test/src/task/model_test.dart
index 88b5915a71de4d6b47974987871509c97d66ff46..8bf96255f166ee076a99eff00c290a0bf2410826 100644
--- a/pkg/analyzer/test/src/task/model_test.dart
+++ b/pkg/analyzer/test/src/task/model_test.dart
@@ -27,19 +27,15 @@ class AnalysisTaskTest extends EngineTestCase {
test_getRequiredInput_missingKey() {
AnalysisTarget target = new TestSource();
AnalysisTask task = new TestAnalysisTask(null, target);
- task.inputs = {
- 'a': 'b'
- };
- expect(
- () => task.getRequiredInput('c'),
+ task.inputs = {'a': 'b'};
+ expect(() => task.getRequiredInput('c'),
throwsA(new isInstanceOf<AnalysisException>()));
}
test_getRequiredInput_noInputs() {
AnalysisTarget target = new TestSource();
AnalysisTask task = new TestAnalysisTask(null, target);
- expect(
- () => task.getRequiredInput('x'),
+ expect(() => task.getRequiredInput('x'),
throwsA(new isInstanceOf<AnalysisException>()));
}
@@ -48,9 +44,7 @@ class AnalysisTaskTest extends EngineTestCase {
AnalysisTask task = new TestAnalysisTask(null, target);
String key = 'a';
String value = 'b';
- task.inputs = {
- key: value
- };
+ task.inputs = {key: value};
expect(task.getRequiredInput(key), value);
}
« no previous file with comments | « pkg/analyzer/test/src/task/manager_test.dart ('k') | pkg/analyzer/test/src/task/test_support.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698