From f13dbae0006c31981420273ef1475b9a13abff5c Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Wed, 24 Jul 2024 09:04:02 -0400 Subject: [PATCH] Fix test binary paths in generated toml for Windows Co-authored-by: Blake Johnson --- tests/tests/project.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tests/project.rs b/tests/tests/project.rs index 3491d72..c4cc50b 100644 --- a/tests/tests/project.rs +++ b/tests/tests/project.rs @@ -106,12 +106,12 @@ impl ProjectBuilder { r#" [[bin]] name = "{name}" - path = "{path}" + path = {path} test = false doc = false "#, name = name, - path = path.display(), + path = toml::to_string(&path).unwrap(), ) .unwrap();