summaryrefslogtreecommitdiff
path: root/tests/projects/c++
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-27 00:25:01 +0800
committerruki <[email protected]>2025-12-27 00:25:01 +0800
commit7ee27a5e5a58b4d8a51ec0d2c0fc153239cb6722 (patch)
tree8346b25bd94d79ec47963067a74bc78c92d7aaf5 /tests/projects/c++
parentef6069c0e0b09b862c663a386e73e6acba6a1c97 (diff)
format code
Diffstat (limited to 'tests/projects/c++')
-rw-r--r--tests/projects/c++/modules/xmake_tests1/xmake.lua3
-rw-r--r--tests/projects/c++/modules/xmake_tests2/xmake.lua2
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/projects/c++/modules/xmake_tests1/xmake.lua b/tests/projects/c++/modules/xmake_tests1/xmake.lua
index c0f5530fe..1e8d7f59d 100644
--- a/tests/projects/c++/modules/xmake_tests1/xmake.lua
+++ b/tests/projects/c++/modules/xmake_tests1/xmake.lua
@@ -10,7 +10,6 @@ target('module_dep')
target('module_target')
set_kind('moduleonly')
add_files('src/*.cppm')
-
-add_deps('module_dep')
+ add_deps('module_dep')
add_tests('test', { kind = 'binary', files = 'src/main.cpp', build_should_pass = true })
add_tests('test2', { kind = 'binary', files = 'src/main.cpp', build_should_pass = true })
diff --git a/tests/projects/c++/modules/xmake_tests2/xmake.lua b/tests/projects/c++/modules/xmake_tests2/xmake.lua
index e5326b36d..051507124 100644
--- a/tests/projects/c++/modules/xmake_tests2/xmake.lua
+++ b/tests/projects/c++/modules/xmake_tests2/xmake.lua
@@ -9,13 +9,11 @@ target("module_dep")
target("module_target1")
set_kind("moduleonly")
add_files("src/*.cppm")
-
add_deps("module_dep")
add_tests("tests", {kind = "binary", files = "src/main.cpp", build_should_pass = true})
target("module_target2")
set_kind("moduleonly")
add_files("src/*.cppm")
-
add_deps("module_dep")
add_tests("tests", {kind = "binary", files = "src/main.cpp", build_should_pass = true})