[DetectorTest] Fixed ControlFile test

This commit is contained in:
Idan Geraffi 2024-02-17 12:50:50 +02:00
parent 273dee180c
commit b06903bb4e
5 changed files with 11 additions and 2 deletions

View file

@ -73,7 +73,7 @@ void ProtocolDetectorTest::testGuessAria2ControlFile()
const ProtocolDetector detector;
CPPUNIT_ASSERT(detector.guessAria2ControlFile(A2_TEST_DIR "/control_file.aria2"));
CPPUNIT_ASSERT(!detector.guessAria2ControlFile(A2_TEST_DIR));
CPPUNIT_ASSERT(detector.guessAria2ControlFile(A2_TEST_DIR "/control_file.aria"));
CPPUNIT_ASSERT(!detector.guessAria2ControlFile(A2_TEST_DIR "/control_file.aria"));
}
} // namespace aria2