fix test_torrent on windows

This commit is contained in:
arvidn 2016-03-17 08:18:29 -04:00
parent 77ce318a84
commit ff44af2854
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ TORRENT_TEST(rename_file)
error_code ec;
boost::shared_ptr<torrent_info> info(boost::make_shared<torrent_info>(&tmp[0], tmp.size(), boost::ref(ec), 0));
TEST_EQUAL(info->files().file_path(0), "test3/tmp1");
TEST_EQUAL(info->files().file_path(0), combine_path("test3","tmp1"));
// move "test3/tmp1" -> "tmp1"
info->rename_file(0, "tmp1");