File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,15 +136,15 @@ TEST_F(URLTest, FromFilePath) {
136
136
#ifdef _WIN32
137
137
file_url = URL::FromFilePath (" C:\\ Program Files\\ " );
138
138
EXPECT_EQ (" file:" , file_url.protocol ());
139
- EXPECT_EQ (" /C:/Program%20Files/" , file_url.path ());
139
+ EXPECT_EQ (" // C:/Program%20Files/" , file_url.path ());
140
140
141
141
file_url = URL::FromFilePath (" C:\\ a\\ b\\ c" );
142
142
EXPECT_EQ (" file:" , file_url.protocol ());
143
- EXPECT_EQ (" /C:/a/b/c" , file_url.path ());
143
+ EXPECT_EQ (" // C:/a/b/c" , file_url.path ());
144
144
145
145
file_url = URL::FromFilePath (" b:\\ a\\ %%.js" );
146
146
EXPECT_EQ (" file:" , file_url.protocol ());
147
- EXPECT_EQ (" /b:/a/%25%25.js" , file_url.path ());
147
+ EXPECT_EQ (" // b:/a/%25%25.js" , file_url.path ());
148
148
#else
149
149
file_url = URL::FromFilePath (" /" );
150
150
EXPECT_EQ (" file:" , file_url.protocol ());
You can’t perform that action at this time.
0 commit comments