mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-09 23:43:16 +02:00
Code cleanup
This commit is contained in:
@@ -333,4 +333,4 @@ public class AddStatementTests
|
||||
interpreter.AddStatement("var", SearchMode.StartOfLine, SpaceAround.End, _ => { });
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -77,5 +77,4 @@ public class CodeFlowStatementsTests
|
||||
|
||||
YesNtAssert.ContainsTerminationMessage(lines, "Function \"nowhere\" not found");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -285,5 +285,4 @@ public class CodeFlowTests
|
||||
|
||||
YesNtAssert.ContainsTerminationMessage(lines, "No matching while found");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -106,5 +106,4 @@ public class ConsoleStatementsTests
|
||||
|
||||
StringAssert.Contains(output.ToString(), "Terminated by external process");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -223,5 +223,4 @@ public class FunctionStatementsTests
|
||||
|
||||
YesNtAssert.IsLastLineEqual(lines, "outer_val");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -158,4 +158,4 @@ public class ListStatementsTests
|
||||
|
||||
YesNtAssert.IsLastLineEqual(lines, "hello world");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -104,4 +104,4 @@ public class PredefinedVariableStatementsTests
|
||||
Assert.IsTrue(int.TryParse(parts[0], out _));
|
||||
Assert.IsTrue(int.TryParse(parts[1], out _));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -198,5 +198,4 @@ public class ProcessingStatementsTests
|
||||
|
||||
YesNtAssert.IsLastLineEqual(lines, "2", timeout: 3000);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -110,4 +110,4 @@ public class StringLiteralStatementsTests
|
||||
|
||||
YesNtAssert.ContainsTerminationMessage(lines, "Invalid string literal");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -45,5 +45,4 @@ public class SystemStatementsTests
|
||||
|
||||
YesNtAssert.ContainsTerminationMessage(lines, "Failed to start \"does_not_exist_abc_xyz\"");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -128,5 +128,4 @@ public class VariableStatementsTests
|
||||
|
||||
YesNtAssert.ContainsTerminationMessage(lines, "Variable \"missing\" not found");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -123,4 +123,4 @@ internal static class YesNtAssert
|
||||
|
||||
return (debugEventArgs, outputBuilder.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user