Make libsyncthing CLI test independent of running Syncthing instance

This commit is contained in:
Martchus 2022-07-05 12:26:17 +02:00
parent 0b49ae2f87
commit 08a88e60bb
1 changed files with 1 additions and 1 deletions

View File

@ -257,5 +257,5 @@ void InterfaceTests::testRunWithConfig()
*/
void InterfaceTests::testCli()
{
CPPUNIT_ASSERT_EQUAL_MESSAGE("run arbitrary CLI command", 0ll, runCli({ "config", "version" }));
CPPUNIT_ASSERT_EQUAL_MESSAGE("run arbitrary CLI command", 0ll, runCli({ "config", "version", "--help" }));
}