summaryrefslogtreecommitdiff
path: root/tests/actions/test/src/test_7.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-07 13:38:29 +0800
committerruki <[email protected]>2023-10-07 13:38:29 +0800
commitf37804a3a471f560c88e8f9311325037aa4f7083 (patch)
tree9ba0e007629900973de07f2a6be7225179aa14ac /tests/actions/test/src/test_7.cpp
parent943e49ac18086207b4371d668d99fd8e8995042c (diff)
improve run for test
Diffstat (limited to 'tests/actions/test/src/test_7.cpp')
-rw-r--r--tests/actions/test/src/test_7.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/actions/test/src/test_7.cpp b/tests/actions/test/src/test_7.cpp
index f454e99f3..dae685668 100644
--- a/tests/actions/test/src/test_7.cpp
+++ b/tests/actions/test/src/test_7.cpp
@@ -6,5 +6,5 @@ int main(int argc, char** argv)
{
char const* arg = argc > 1? argv[1] : "xmake";
cout << "hello " << arg << endl;
- return 0;
+ return -1;
}