From d3c878359a50c114560c8e4b5cee3dc4ede36571 Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 13 Oct 2021 00:14:49 +0200 Subject: [PATCH] Fix typo in libsyncthing tests --- libsyncthing/tests/interfacetests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsyncthing/tests/interfacetests.cpp b/libsyncthing/tests/interfacetests.cpp index 97f3838..162ab88 100644 --- a/libsyncthing/tests/interfacetests.cpp +++ b/libsyncthing/tests/interfacetests.cpp @@ -31,7 +31,7 @@ class InterfaceTests : public TestFixture { CPPUNIT_TEST(testInitialState); CPPUNIT_TEST(testVersion); CPPUNIT_TEST(testRunWithoutConfig); - CPPUNIT_TEST(testRunWidthConfig); + CPPUNIT_TEST(testRunWithConfig); CPPUNIT_TEST_SUITE_END(); public: @@ -40,7 +40,7 @@ public: void testInitialState(); void testVersion(); void testRunWithoutConfig(); - void testRunWidthConfig(); + void testRunWithConfig(); void setUp() override; void tearDown() override; @@ -243,7 +243,7 @@ void InterfaceTests::testRunWithoutConfig() * \brief Tests whether Syncthing can be started (and stopped again). * \remarks This test uses the usual test config (same as for connector and CLI) and runs some checks against it. */ -void InterfaceTests::testRunWidthConfig() +void InterfaceTests::testRunWithConfig() { RuntimeOptions options; options.configDir = options.dataDir = setupTestConfigDir();