summaryrefslogtreecommitdiff
path: root/tests/test_main.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-08-01 07:53:14 +0200
committerGitHub <noreply@github.com>2022-08-01 07:53:14 +0200
commit4d4575d3863663174c862f37f2d56596e8ad469b (patch)
tree9fdf33e9a8667bf25dbede4b3b643ba1c7a7030a /tests/test_main.cpp
parent12dc5619e9aa810c84dfe736d1536c68ad5dd956 (diff)
parent0dd65378e7594e8916474613116d8df485870710 (diff)
Merge pull request #63624 from reduz/commandline-user-args
Add support for command-line user arguments.
Diffstat (limited to 'tests/test_main.cpp')
-rw-r--r--tests/test_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_main.cpp b/tests/test_main.cpp
index 40fe562be1..16654181c6 100644
--- a/tests/test_main.cpp
+++ b/tests/test_main.cpp
@@ -105,7 +105,7 @@ int test_main(int argc, char *argv[]) {
for (int i = 0; i < argc; i++) {
args.push_back(String::utf8(argv[i]));
}
- OS::get_singleton()->set_cmdline("", args);
+ OS::get_singleton()->set_cmdline("", args, List<String>());
// Run custom test tools.
if (test_commands) {