mirror of
https://github.com/google/googletest.git
synced 2024-12-28 11:10:44 +08:00
Fix typo in the test name of NormalizeTest
Signed-off-by: Ayush Joshi <ayush854032@gmail.com>
This commit is contained in:
parent
8ded48c37b
commit
fae793c101
@ -407,7 +407,7 @@ TEST(DirectoryTest, CurrentDirectoryExists) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// "foo/bar" == foo//bar" == "foo///bar"
|
// "foo/bar" == foo//bar" == "foo///bar"
|
||||||
TEST(NormalizeTest, MultipleConsecutiveSepaparatorsInMidstring) {
|
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) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// "/bar" == //bar" == "///bar"
|
// "/bar" == //bar" == "///bar"
|
||||||
TEST(NormalizeTest, MultipleConsecutiveSepaparatorsAtStringStart) {
|
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) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// "foo/" == foo//" == "foo///"
|
// "foo/" == foo//" == "foo///"
|
||||||
TEST(NormalizeTest, MultipleConsecutiveSepaparatorsAtStringEnd) {
|
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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user