aboutsummaryrefslogtreecommitdiff
path: root/zenserver-test/zenserver-test.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-29 14:07:32 +0100
committerMartin Ridgers <[email protected]>2021-11-29 14:07:32 +0100
commit11fdc76fa57a8cd3137c5b8e70b888d4fce04352 (patch)
tree84850da4ec76bfcf467949d070cfebca3c040a21 /zenserver-test/zenserver-test.cpp
parentWait for upstream test server to start before spawning a downstream one (diff)
downloadzen-11fdc76fa57a8cd3137c5b8e70b888d4fce04352.tar.xz
zen-11fdc76fa57a8cd3137c5b8e70b888d4fce04352.zip
std::fs::path is a wide character string under the hood
Diffstat (limited to 'zenserver-test/zenserver-test.cpp')
-rw-r--r--zenserver-test/zenserver-test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp
index 20650ba56..2c2722581 100644
--- a/zenserver-test/zenserver-test.cpp
+++ b/zenserver-test/zenserver-test.cpp
@@ -1012,7 +1012,7 @@ TEST_CASE("project.basic")
zen::CbObjectView ResponseObject = zen::CbFieldView(Response.text.data()).AsObjectView();
CHECK(ResponseObject["id"].AsString() == "test"sv);
- CHECK(ResponseObject["root"].AsString() == RootPath.c_str());
+ CHECK(ResponseObject["root"].AsString() == PathToUtf8(RootPath.c_str()));
}
}