update test function

pull/1126/head
L 3 years ago
parent b6bfb40138
commit 7a1f9e5721
No known key found for this signature in database
GPG Key ID: 7B8B11806DB67499
  1. 4
      packages/c/crossguid/xmake.lua

@ -30,10 +30,8 @@ package("crossguid")
on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#include <crossguid/guid.hpp>
void test() {
auto g = xg::newGuid();
}
]]}, {configs = {languages = "c++17"}}))
]]}, {configs = {languages = "c++17"}, includes = "crossguid/guid.hpp"}))
end)

Loading…
Cancel
Save