From fd3b1d4b2ce32f3894bc716389d2da2e0299c162 Mon Sep 17 00:00:00 2001 From: MisanthropicBit Date: Tue, 20 Aug 2024 22:49:12 +0200 Subject: [PATCH] Compare with expected separator --- scripts/test-runner.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test-runner.lua b/scripts/test-runner.lua index 272ae34..6f9bea7 100755 --- a/scripts/test-runner.lua +++ b/scripts/test-runner.lua @@ -60,7 +60,7 @@ local function is_windows() return os ~= "linux" and os ~= "osx" and os ~= "bsd" and os ~= "posix" and os ~= "other" else - return package.config:sub(1, 1) ~= "/" + return package.config:sub(1, 1) == "\\" end end