mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
[DetectorTest] Fixed ControlFile test
This commit is contained in:
parent
273dee180c
commit
b06903bb4e
5 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue