Commit 059436d5 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

msvcrt/tests: Remove wrong FreeLibrary and fix typo's.

parent 16d91233
......@@ -187,7 +187,7 @@ static void InitFunctionPtrs(void)
hMsvcrt = GetModuleHandleA("msvcrt.dll");
if (!hMsvcrt)
hMsvcrt = GetModuleHandleA("msvcrtd.dll");
ok(hMsvcrt != 0, "LoadLibraryA failed\n");
ok(hMsvcrt != 0, "GetModuleHandleA failed\n");
if (hMsvcrt)
{
SETNOFAIL(poperator_new, "??_U@YAPAXI@Z");
......@@ -1004,8 +1004,5 @@ START_TEST(cpp)
test_rtti();
test_demangle_datatype();
test_demangle();
if (hMsvcrt)
FreeLibrary(hMsvcrt);
}
#endif /* __i386__ */
......@@ -135,7 +135,7 @@ START_TEST(string)
hMsvcrt = GetModuleHandleA("msvcrt.dll");
if (!hMsvcrt)
hMsvcrt = GetModuleHandleA("msvcrtd.dll");
ok(hMsvcrt != 0, "LoadLibraryA failed\n");
ok(hMsvcrt != 0, "GetModuleHandleA failed\n");
SET(pmemcpy,"memcpy");
SET(pmemcmp,"memcmp");
......
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