Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
bdda1e56
Commit
bdda1e56
authored
Apr 30, 2018
by
Purves, Murray
Browse files
#18
Setting string comparisons to lower case
parent
6a35688d
Pipeline
#13218
passed with stages
in 20 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
radixcore/tests/tstSystem.cc
View file @
bdda1e56
...
...
@@ -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
)
)
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment