From a2cd16ba826cb8708f5b2ded9c99c6aa200551d9 Mon Sep 17 00:00:00 2001 From: Christopher Fujino Date: Tue, 14 Sep 2021 11:22:02 -0700 Subject: [PATCH] use test logger, which does not allow colors (#90010) --- packages/flutter_tools/test/src/context.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/flutter_tools/test/src/context.dart b/packages/flutter_tools/test/src/context.dart index ebbcab54bc1..4176e8ee0e3 100644 --- a/packages/flutter_tools/test/src/context.dart +++ b/packages/flutter_tools/test/src/context.dart @@ -114,10 +114,7 @@ void testUsingContext( HttpClient: () => FakeHttpClient.any(), IOSSimulatorUtils: () => const NoopIOSSimulatorUtils(), OutputPreferences: () => OutputPreferences.test(), - Logger: () => BufferLogger( - terminal: globals.terminal, - outputPreferences: globals.outputPreferences, - ), + Logger: () => BufferLogger.test(), OperatingSystemUtils: () => FakeOperatingSystemUtils(), PersistentToolState: () => buildPersistentToolState(globals.fs), Usage: () => TestUsage(),