From 8a35e4201220f6abeef6a3a471e1267a09ff66b4 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 15 Jan 2017 08:25:10 -0500 Subject: [PATCH] fix build --- test/test_file_storage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_file_storage.cpp b/test/test_file_storage.cpp index 231e3488c..d92c502ac 100644 --- a/test/test_file_storage.cpp +++ b/test/test_file_storage.cpp @@ -97,8 +97,8 @@ TORRENT_TEST(rename_file) TEST_EQUAL(st.file_path(file_index_t{0}, "."), "/tmp/a"); #endif - st.rename_file(0, combine_path("test__", "a")); - TEST_EQUAL(st.file_path(0, "."), combine_path(".", combine_path("test__" + st.rename_file(file_index_t{0}, combine_path("test__", "a")); + TEST_EQUAL(st.file_path(file_index_t{0}, "."), combine_path(".", combine_path("test__" , "a"))); }