diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-05-17 23:00:37 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-05-17 23:00:37 +0900 |
| commit | 45506573a823cc34eb57f549f0469beb01c9cc33 (patch) | |
| tree | 5b833fed5de6de7d52ecf5a78e2b64b75bd4fef4 /test/Aria2ApiTest.cc | |
| parent | 06377d77c9a7bf2237f1bfcd5bf79e209b0e2247 (diff) | |
Rename KeyVals DownloadHandle::getOption() as getOptions
Diffstat (limited to 'test/Aria2ApiTest.cc')
| -rw-r--r-- | test/Aria2ApiTest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Aria2ApiTest.cc b/test/Aria2ApiTest.cc index 0c5429e7..ac8eafb5 100644 --- a/test/Aria2ApiTest.cc +++ b/test/Aria2ApiTest.cc @@ -175,7 +175,7 @@ void Aria2ApiTest::testChangeOption() CPPUNIT_ASSERT_EQUAL(std::string("mydownload"), hd->getOption("dir")); CPPUNIT_ASSERT(hd->getOption("unknown").empty()); - KeyVals retopts = hd->getOption(); + KeyVals retopts = hd->getOptions(); CPPUNIT_ASSERT(std::find(retopts.begin(), retopts.end(), KeyVals::value_type("dir", "mydownload")) != retopts.end()); |
