summaryrefslogtreecommitdiff
path: root/tests/modules/path/test.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-06-18 19:50:39 +0800
committerOpportunityLiu <[email protected]>2019-06-18 19:50:39 +0800
commit98d4504577b586ef2398346a0db2743081cf03a8 (patch)
tree3aab00679f61eee14a62afb3989ed3d278bdb5a3 /tests/modules/path/test.lua
parent0c58eac269fda12b1568bc9704237a48aedbc4b3 (diff)
skip some tests
Diffstat (limited to 'tests/modules/path/test.lua')
-rw-r--r--tests/modules/path/test.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modules/path/test.lua b/tests/modules/path/test.lua
index bba15810c..4217dec16 100644
--- a/tests/modules/path/test.lua
+++ b/tests/modules/path/test.lua
@@ -1,6 +1,6 @@
function test_splitenv_win(t)
if not is_host("windows") then
- return
+ return t:skip("wrong host platform")
end
t:are_equal(path.splitenv(""), {})
t:are_equal(path.splitenv("a"), {'a'})
@@ -14,7 +14,7 @@ end
function test_splitenv_unix(t)
if is_host("windows") then
- return
+ return t:skip("wrong host platform")
end
t:are_equal(path.splitenv(""), {})
t:are_equal(path.splitenv("a"), {'a'})