diff --git a/YesNt.Interpreter.Tests/YesNtAssert.cs b/YesNt.Interpreter.Tests/YesNtAssert.cs index 09e53a5..422f286 100644 --- a/YesNt.Interpreter.Tests/YesNtAssert.cs +++ b/YesNt.Interpreter.Tests/YesNtAssert.cs @@ -85,10 +85,7 @@ internal static class YesNtAssert return debugEventArgs?.CurrentLine; } - private static (DebugEventArgs? LastDebugEvent, string DebugOutput) ExecuteAndCapture(List lines, int timeout) - => ExecuteAndCapture(lines, timeout, setup: null); - - private static (DebugEventArgs? LastDebugEvent, string DebugOutput) ExecuteAndCapture(List lines, int timeout, Action? setup) + private static (DebugEventArgs? LastDebugEvent, string DebugOutput) ExecuteAndCapture(List lines, int timeout, Action? setup = null) { YesNtInterpreter yesNtInterpreter = new YesNtInterpreter(); setup?.Invoke(yesNtInterpreter);