summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-26 10:00:43 +0800
committerruki <[email protected]>2017-05-26 10:00:43 +0800
commit7d0b8226faf9a4dfc67ded97c4d46e774c2d3ad2 (patch)
treea8331eabf3db8fca5760c6bb5c67729a0fee92f8 /tests
parent27887740f2be1e2381511632a44b16f2dcddbc49 (diff)
improve match pattern for xxx_script
Diffstat (limited to 'tests')
-rw-r--r--tests/apis/xxx_script/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/apis/xxx_script/xmake.lua b/tests/apis/xxx_script/xmake.lua
index d522b11fb..84f41c225 100644
--- a/tests/apis/xxx_script/xmake.lua
+++ b/tests/apis/xxx_script/xmake.lua
@@ -5,7 +5,7 @@ target("test")
assert(vformat("$(arch)") == "arm64")
end)
- before_build("macosx|.*", function (target)
+ before_build("macosx", function (target)
assert(vformat("$(plat)") == "macosx")
end)
@@ -21,6 +21,6 @@ target("test")
print("after_build")
end)
- after_build("linux|.*", function (target)
+ after_build("linux|*", function (target)
assert(vformat("$(plat)") == "linux")
end)