File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
libraries/src/AWS.Lambda.Powertools.Common/Core Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ public void SetExecutionEnvironment<T>(T type)
146
146
/// <inheritdoc />
147
147
public void SetOut ( TextWriter writeTo )
148
148
{
149
- _testOutputStream = writeTo ;
150
- _inTestMode = true ;
149
+ SystemWrapper . _testOutputStream = writeTo ;
150
+ SystemWrapper . _inTestMode = true ;
151
151
Console . SetOut ( writeTo ) ;
152
152
}
153
153
@@ -172,14 +172,14 @@ private string ParseAssemblyName(string assemblyName)
172
172
return $ "{ Constants . FeatureContextIdentifier } /{ assemblyName } ";
173
173
}
174
174
175
- private void EnsureConsoleOutputOnce ( )
175
+ private static void EnsureConsoleOutputOnce ( )
176
176
{
177
177
if ( _outputResetPerformed ) return ;
178
178
ResetConsoleOutput ( ) ;
179
179
_outputResetPerformed = true ;
180
180
}
181
181
182
- private void ResetConsoleOutput ( )
182
+ private static void ResetConsoleOutput ( )
183
183
{
184
184
var standardOutput = new StreamWriter ( Console . OpenStandardOutput ( ) ) ;
185
185
standardOutput . AutoFlush = true ;
You can’t perform that action at this time.
0 commit comments