From f47299d7a1aad6b28d83dc9cb65b10f4ba66c6f8 Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Mon, 20 Jul 2020 20:08:14 -0700 Subject: [PATCH] Remove unnecessary call to Path.Combine. --- Duplicati/UnitTest/RestoreHandlerTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/UnitTest/RestoreHandlerTests.cs b/Duplicati/UnitTest/RestoreHandlerTests.cs index 4c5ce91ea..4a92a1120 100644 --- a/Duplicati/UnitTest/RestoreHandlerTests.cs +++ b/Duplicati/UnitTest/RestoreHandlerTests.cs @@ -30,7 +30,7 @@ namespace Duplicati.UnitTest // Issue #4148 described a situation where the folders containing the empty file were not recreated properly. Dictionary restoreOptions = new Dictionary(this.TestOptions) { - ["restore-path"] = Path.Combine(this.RESTOREFOLDER), + ["restore-path"] = this.RESTOREFOLDER, ["dont-compress-restore-paths"] = "true" }; using (Controller c = new Controller("file://" + this.TARGETFOLDER, restoreOptions, null))