diff --git a/test/test_torrent.cpp b/test/test_torrent.cpp index cef198ba3..1008eeaee 100644 --- a/test/test_torrent.cpp +++ b/test/test_torrent.cpp @@ -278,7 +278,7 @@ TORRENT_TEST(rename_file) error_code ec; boost::shared_ptr info(boost::make_shared(&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");