Commit a64b83a4 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Merge branch '18-test-string-case-sensitivity' into 'master'

Resolve "test string case sensitivity"

Closes #18

See merge request !36
parents 6a35688d bdda1e56
Pipeline #13242 passed with stages
in 9 minutes and 14 seconds
......@@ -33,7 +33,7 @@ TEST(GetCurrentDirectory, Basic)
EXPECT_TRUE(changedir) << "Failed to change directory";
std::string dir_name = current_dirname();
EXPECT_EQ("radixcore", dir_name);
EXPECT_EQ("radixcore", radix::string_tolower(dir_name));
}
TEST(Exists, Path)
......@@ -213,7 +213,7 @@ TEST(System, SearchEnvPath)
#ifdef _WIN32
app = "where.exe";
blessed = "C:\\WINDOWS\\system32\\where.exe";
blessed = "c:\\windows\\system32\\where.exe";
#elif __APPLE__
app = "ls";
blessed = "/bin/ls";
......@@ -222,5 +222,5 @@ TEST(System, SearchEnvPath)
blessed = "/usr/bin/ls";
#endif
std::string path = search_env_path(app);
EXPECT_EQ(blessed, path);
EXPECT_EQ(blessed, radix::string_tolower(path));
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment