mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 00:56:31 +02:00
Remove Initialize calls and add AddStatement tests
This commit is contained in:
@@ -79,9 +79,8 @@ public class ConsoleStatementsTests
|
||||
public void ReadKeyCanBeInterruptedByStopTest()
|
||||
{
|
||||
YesNtInterpreter interpreter = new YesNtInterpreter();
|
||||
interpreter.Initialize();
|
||||
|
||||
AutoResetEvent onDone = new AutoResetEvent(false);
|
||||
AutoResetEvent onDone= new AutoResetEvent(false);
|
||||
StringBuilder output = new StringBuilder();
|
||||
|
||||
interpreter.OnDebugOutput += (s) => _ = output.Append(s);
|
||||
|
||||
Reference in New Issue
Block a user