Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
fae793c1
Commit
fae793c1
authored
Apr 30, 2022
by
Ayush Joshi
Browse files
Fix typo in the test name of `NormalizeTest`
Signed-off-by:
Ayush Joshi
<
ayush854032@gmail.com
>
parent
8ded48c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
googletest/test/googletest-filepath-test.cc
googletest/test/googletest-filepath-test.cc
+3
-3
No files found.
googletest/test/googletest-filepath-test.cc
View file @
fae793c1
...
@@ -407,7 +407,7 @@ TEST(DirectoryTest, CurrentDirectoryExists) {
...
@@ -407,7 +407,7 @@ TEST(DirectoryTest, CurrentDirectoryExists) {
}
}
// "foo/bar" == foo//bar" == "foo///bar"
// "foo/bar" == foo//bar" == "foo///bar"
TEST
(
NormalizeTest
,
MultipleConsecutiveSepa
pa
ratorsInMidstring
)
{
TEST
(
NormalizeTest
,
MultipleConsecutiveSeparatorsInMidstring
)
{
EXPECT_EQ
(
"foo"
GTEST_PATH_SEP_
"bar"
,
EXPECT_EQ
(
"foo"
GTEST_PATH_SEP_
"bar"
,
FilePath
(
"foo"
GTEST_PATH_SEP_
"bar"
).
string
());
FilePath
(
"foo"
GTEST_PATH_SEP_
"bar"
).
string
());
EXPECT_EQ
(
"foo"
GTEST_PATH_SEP_
"bar"
,
EXPECT_EQ
(
"foo"
GTEST_PATH_SEP_
"bar"
,
...
@@ -419,7 +419,7 @@ TEST(NormalizeTest, MultipleConsecutiveSepaparatorsInMidstring) {
...
@@ -419,7 +419,7 @@ TEST(NormalizeTest, MultipleConsecutiveSepaparatorsInMidstring) {
}
}
// "/bar" == //bar" == "///bar"
// "/bar" == //bar" == "///bar"
TEST
(
NormalizeTest
,
MultipleConsecutiveSepa
pa
ratorsAtStringStart
)
{
TEST
(
NormalizeTest
,
MultipleConsecutiveSeparatorsAtStringStart
)
{
EXPECT_EQ
(
GTEST_PATH_SEP_
"bar"
,
FilePath
(
GTEST_PATH_SEP_
"bar"
).
string
());
EXPECT_EQ
(
GTEST_PATH_SEP_
"bar"
,
FilePath
(
GTEST_PATH_SEP_
"bar"
).
string
());
EXPECT_EQ
(
GTEST_PATH_SEP_
"bar"
,
EXPECT_EQ
(
GTEST_PATH_SEP_
"bar"
,
FilePath
(
GTEST_PATH_SEP_
GTEST_PATH_SEP_
"bar"
).
string
());
FilePath
(
GTEST_PATH_SEP_
GTEST_PATH_SEP_
"bar"
).
string
());
...
@@ -429,7 +429,7 @@ TEST(NormalizeTest, MultipleConsecutiveSepaparatorsAtStringStart) {
...
@@ -429,7 +429,7 @@ TEST(NormalizeTest, MultipleConsecutiveSepaparatorsAtStringStart) {
}
}
// "foo/" == foo//" == "foo///"
// "foo/" == foo//" == "foo///"
TEST
(
NormalizeTest
,
MultipleConsecutiveSepa
pa
ratorsAtStringEnd
)
{
TEST
(
NormalizeTest
,
MultipleConsecutiveSeparatorsAtStringEnd
)
{
EXPECT_EQ
(
"foo"
GTEST_PATH_SEP_
,
FilePath
(
"foo"
GTEST_PATH_SEP_
).
string
());
EXPECT_EQ
(
"foo"
GTEST_PATH_SEP_
,
FilePath
(
"foo"
GTEST_PATH_SEP_
).
string
());
EXPECT_EQ
(
"foo"
GTEST_PATH_SEP_
,
EXPECT_EQ
(
"foo"
GTEST_PATH_SEP_
,
FilePath
(
"foo"
GTEST_PATH_SEP_
GTEST_PATH_SEP_
).
string
());
FilePath
(
"foo"
GTEST_PATH_SEP_
GTEST_PATH_SEP_
).
string
());
...
...
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