Skip to content

Commit

Permalink
Make libsyncthing CLI test independent of running Syncthing instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Jul 5, 2022
1 parent 0b49ae2 commit 08a88e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsyncthing/tests/interfacetests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" }));
}

0 comments on commit 08a88e6

Please sign in to comment.