diff --git a/tests/Lua.Tests/LuaTests.cs b/tests/Lua.Tests/LuaTests.cs index daa9887b..1c8ce014 100644 --- a/tests/Lua.Tests/LuaTests.cs +++ b/tests/Lua.Tests/LuaTests.cs @@ -32,6 +32,7 @@ public async Task Test_Lua(string file) var state = LuaState.Create(); state.Platform = state.Platform with { StandardIO = new TestStandardIO() }; state.OpenStandardLibraries(); + if (file == "tests-lua/errors.lua") state.Environment["_soft"] = true; var path = FileHelper.GetAbsolutePath(file); Directory.SetCurrentDirectory(Path.GetDirectoryName(path)!); try