Skip to content

Commit

Permalink
Remove redundant arguments passed to redirecting factory constructors…
Browse files Browse the repository at this point in the history
… (#115497)
  • Loading branch information
srawlins authored Nov 17, 2022
1 parent 26a990f commit f255390
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/flutter_tools/lib/src/test/test_compiler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ class TestCompiler {
buildMode: buildInfo.mode,
trackWidgetCreation: buildInfo.trackWidgetCreation,
initializeFromDill: testFilePath,
unsafePackageSerialization: false,
dartDefines: buildInfo.dartDefines,
packagesPath: buildInfo.packagesPath,
extraFrontEndOptions: buildInfo.extraFrontEndOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void main() {
final WindowsStdoutLogger logger = WindowsStdoutLogger(
outputPreferences: OutputPreferences.test(),
stdio: stdio,
terminal: Terminal.test(supportsColor: false, supportsEmoji: false),
terminal: Terminal.test(),
);

logger.printStatus('🔥🖼️✗✓🔨💪✏️');
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_tools/test/integration.shard/cache_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void main() {
final String? oldRoot = Cache.flutterRoot;
final Directory tempDir = fileSystem.systemTempDirectory.createTempSync('cache_test.');
final BufferLogger logger = BufferLogger(
terminal: Terminal.test(supportsColor: false, supportsEmoji: false),
terminal: Terminal.test(),
outputPreferences: OutputPreferences(),
);
logger.fatalWarnings = true;
Expand Down Expand Up @@ -114,7 +114,7 @@ Future<void> main(List<String> args) async {
final String? oldRoot = Cache.flutterRoot;
final Directory tempDir = fileSystem.systemTempDirectory.createTempSync('cache_test.');
final BufferLogger logger = BufferLogger(
terminal: Terminal.test(supportsColor: false, supportsEmoji: false),
terminal: Terminal.test(),
outputPreferences: OutputPreferences(),
);
logger.fatalWarnings = true;
Expand Down

0 comments on commit f255390

Please sign in to comment.