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

Unified Diff: pkg/front_end/test/src/incremental/mock_sdk.dart

Issue 2975253002: Format analyzer, analysis_server, analyzer_plugin, front_end and kernel with the latest dartfmt. (Closed)
Patch Set: Created 3 years, 5 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/front_end/test/src/incremental/kernel_driver_test.dart ('k') | pkg/kernel/test/interpreter/suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/src/incremental/mock_sdk.dart
diff --git a/pkg/front_end/test/src/incremental/mock_sdk.dart b/pkg/front_end/test/src/incremental/mock_sdk.dart
index 60d4db9ae15f8a11e8db3599df28c34968f20f4a..678583d79c3ed170f2b2300d8c74e5329cc52c5c 100644
--- a/pkg/front_end/test/src/incremental/mock_sdk.dart
+++ b/pkg/front_end/test/src/incremental/mock_sdk.dart
@@ -17,9 +17,7 @@ Map<String, Uri> createSdkFiles(MemoryFileSystem fileSystem) {
dartLibraries[name] = uri;
}
- addSdkLibrary(
- 'core',
- r'''
+ addSdkLibrary('core', r'''
library dart.core;
import 'dart:_internal';
import 'dart:async';
@@ -204,9 +202,7 @@ void print(Object o) {}
abstract class _SyncIterable implements Iterable {}
''');
- addSdkLibrary(
- 'async',
- r'''
+ addSdkLibrary('async', r'''
library dart.async;
class Future<T> {
@@ -248,9 +244,7 @@ Future _awaitHelper(
addSdkLibrary('developer', 'library dart.developer;');
addSdkLibrary('io', 'library dart.io;');
addSdkLibrary('isolate', 'library dart.isolate;');
- addSdkLibrary(
- 'math',
- '''
+ addSdkLibrary('math', '''
library dart.math;
external double sin(num radians);
''');
@@ -260,9 +254,7 @@ external double sin(num radians);
addSdkLibrary('typed_data', 'library dart.typed_data;');
addSdkLibrary('vmservice_io', 'library dart.vmservice_io;');
addSdkLibrary('_builtin', 'library dart._builtin;');
- addSdkLibrary(
- '_internal',
- '''
+ addSdkLibrary('_internal', '''
library dart._internal;
class Symbol {}
class ExternalName {
« no previous file with comments | « pkg/front_end/test/src/incremental/kernel_driver_test.dart ('k') | pkg/kernel/test/interpreter/suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698