diff options
Diffstat (limited to 'make/unittest.lua')
-rw-r--r-- | make/unittest.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/make/unittest.lua b/make/unittest.lua index 25839c96..1c2c2d6f 100644 --- a/make/unittest.lua +++ b/make/unittest.lua @@ -1,8 +1,7 @@ -local platform = ... local fs = require 'bee.filesystem' local sp = require 'bee.subprocess' local pf = require 'bee.platform' -local exe = platform == 'msvc' and ".exe" or "" +local exe = pf.OS == 'Windows' and ".exe" or "" local CWD = fs.current_path() local process = assert(sp.spawn { |