Code cleanup

This commit is contained in:
Stone_Red
2026-03-05 22:55:11 +01:00
parent 276ae421e8
commit 789f56ba95
35 changed files with 100 additions and 80 deletions
+1 -1
View File
@@ -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");
}
}
}
+1 -2
View File
@@ -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");
}
}
}
+1 -1
View File
@@ -123,4 +123,4 @@ internal static class YesNtAssert
return (debugEventArgs, outputBuilder.ToString());
}
}
}