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

This commit is contained in:
Misha Koshelev 2007-07-08 16:52:10 -05:00 committed by Alexandre Julliard
parent 8f3c1ad5ea
commit 64054b005c
1 changed files with 3 additions and 1 deletions

View File

@ -270,7 +270,9 @@ static HRESULT WINAPI ProtocolSink_ReportProgress(IInternetProtocolSink *iface,
if(tested_protocol == BIND_TEST)
ok(szStatusText == expect_wsz, "unexpected szStatusText\n");
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;
case BINDSTATUS_DIRECTBIND: