From ff44af28541532a06b4ead62652b449252903cce Mon Sep 17 00:00:00 2001 From: arvidn Date: Thu, 17 Mar 2016 08:18:29 -0400 Subject: [PATCH] fix test_torrent on windows --- test/test_torrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");