From e97cf8fb89d7d46abb3a68c6c220a272fbc5dbf7 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 22 May 2017 18:36:15 +0800 Subject: modify process test --- makefile | 2 +- tests/modules/process/test.lua | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/makefile b/makefile index d8cd01cf3..4edf55d86 100644 --- a/makefile +++ b/makefile @@ -82,7 +82,7 @@ uninstall: @echo ok! test: - @xmake lua tests/test.lua $(name) + @xmake lua --backtrace tests/test.lua $(name) @echo ok! .PHONY: tip build install uninstall diff --git a/tests/modules/process/test.lua b/tests/modules/process/test.lua index aec56cfc6..64c975b29 100644 --- a/tests/modules/process/test.lua +++ b/tests/modules/process/test.lua @@ -49,13 +49,4 @@ function main() end } assert(ok == nil) - - ok = try - { - function () - process.open("thismustnotbeaprogramname") - return true - end - } - assert(ok == nil) end -- cgit v1.3.1