Commit 64054b00 authored by Misha Koshelev's avatar Misha Koshelev Committed by Alexandre Julliard

urlmon/tests: Make http protocol mime type test pass on native.

parent 8f3c1ad5
...@@ -270,7 +270,9 @@ static HRESULT WINAPI ProtocolSink_ReportProgress(IInternetProtocolSink *iface, ...@@ -270,7 +270,9 @@ static HRESULT WINAPI ProtocolSink_ReportProgress(IInternetProtocolSink *iface,
if(tested_protocol == BIND_TEST) if(tested_protocol == BIND_TEST)
ok(szStatusText == expect_wsz, "unexpected szStatusText\n"); ok(szStatusText == expect_wsz, "unexpected szStatusText\n");
else else
ok(!lstrcmpW(szStatusText, text_html), "szStatusText != text/html\n"); ok(lstrlenW(text_html) <= lstrlenW(szStatusText) &&
!memcmp(szStatusText, text_html, lstrlenW(text_html)*sizeof(WCHAR)),
"szStatusText != text/html\n");
} }
break; break;
case BINDSTATUS_DIRECTBIND: case BINDSTATUS_DIRECTBIND:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment