Fix RestUtilUnit test

Description

Fix RestUtilUnit test

Testing

RESTUtilUnits.toml
This commit is contained in:
Ata E Husain Bohra 2023-03-13 15:46:15 -07:00
parent d54e24ee2e
commit a196f2fd75
1 changed files with 2 additions and 1 deletions

View File

@ -318,7 +318,8 @@ TEST_CASE("/RESTUtils/ValidURIWithExtraForwardSlash") {
ASSERT_EQ(r.connType.secure, RESTConnectionType::SECURE_CONNECTION);
ASSERT_EQ(r.host.compare("host"), 0);
ASSERT(r.service.empty());
ASSERT_EQ(r.resource.compare("/foo/bar"), 0);
printf("resource %s\n", r.resource.c_str());
ASSERT_EQ(r.resource.compare("//foo/bar"), 0);
return Void();
}