From 726f55e5c67af15a1fe18fd7100d5f8ef3ec7eda Mon Sep 17 00:00:00 2001 From: Ryan Ward Date: Sun, 26 Nov 2023 12:59:54 -0500 Subject: [PATCH] Fixed paths --- tests/runtests.lua | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/tests/runtests.lua b/tests/runtests.lua index c62f04b..363c418 100644 --- a/tests/runtests.lua +++ b/tests/runtests.lua @@ -1,25 +1,5 @@ -if os.getenv("LOCAL_LUA_DEBUGGER_VSCODE") == "1" then - package.path="multi/?.lua;multi/?/init.lua;multi/?.lua;multi/?/?/init.lua;"..package.path - require("lldebugger").start() -else - package.path = "../?/init.lua;../?.lua;"..package.path -end ---[[ - This file runs all tests. - Format: - Expected: - ... - ... - ... - Actual: - ... - ... - ... - - Each test that is ran should have a 5 second pause after the test is complete - The expected and actual should "match" (Might be impossible when playing with threads) - This will be pushed directly to the master as tests start existing. -]] +package.path = "?/init.lua;?.lua;"..package.path + local multi, thread = require("multi"):init{print=true,warn=true,error=true}--{priority=true} local good = false local proc = multi:newProcessor("Test")