summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/apis/xxx_script/xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/apis/xxx_script/xmake.lua b/tests/apis/xxx_script/xmake.lua
index 84f41c225..5b529622a 100644
--- a/tests/apis/xxx_script/xmake.lua
+++ b/tests/apis/xxx_script/xmake.lua
@@ -1,8 +1,8 @@
target("test")
before_build("iphoneos|arm64", function (target)
- assert(vformat("$(plat)") == "iphoneos")
- assert(vformat("$(arch)") == "arm64")
+ assert(val("plat") == "iphoneos")
+ assert(val("arch") == "arm64")
end)
before_build("macosx", function (target)
@@ -22,5 +22,5 @@ target("test")
end)
after_build("linux|*", function (target)
- assert(vformat("$(plat)") == "linux")
+ assert(val("plat") == "linux")
end)