Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
adeb76bd
Commit
adeb76bd
authored
May 28, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
May 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Include leading path slash in location test array.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6941232d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
htmllocation.c
dlls/mshtml/tests/htmllocation.c
+5
-5
No files found.
dlls/mshtml/tests/htmllocation.c
View file @
adeb76bd
...
...
@@ -47,7 +47,7 @@ static const struct location_test location_tests[] = {
"www.winehq.org:80"
,
"www.winehq.org"
,
"80"
,
""
,
"
/
"
,
"?search"
,
"#hash"
},
...
...
@@ -59,7 +59,7 @@ static const struct location_test location_tests[] = {
"www.winehq.org:80"
,
"www.winehq.org"
,
"80"
,
"file"
,
"
/
file"
,
"?search"
,
"#hash"
},
...
...
@@ -71,7 +71,7 @@ static const struct location_test location_tests[] = {
"ftp.winehq.org:21"
,
"ftp.winehq.org"
,
"21"
,
""
,
"
/
"
,
NULL
,
NULL
},
...
...
@@ -83,7 +83,7 @@ static const struct location_test location_tests[] = {
"ftp.winehq.org:21"
,
"ftp.winehq.org"
,
"21"
,
"file"
,
"
/
file"
,
NULL
,
NULL
},
...
...
@@ -240,7 +240,7 @@ static void test_pathname(IHTMLLocation *loc, const struct location_test *test)
hres
=
IHTMLLocation_get_pathname
(
loc
,
&
str
);
ok
(
hres
==
S_OK
,
"%s: get_pathname failed: 0x%08x
\n
"
,
test
->
name
,
hres
);
if
(
hres
==
S_OK
)
ok
(
str_eq_wa
(
str
,
test
->
pathname
),
ok
(
str_eq_wa
(
str
,
*
test
->
pathname
==
'/'
?
test
->
pathname
+
1
:
test
->
pathname
),
"%s: expected retrieved pathname to be L
\"
%s
\"
, was: %s
\n
"
,
test
->
name
,
test
->
pathname
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
...
...
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