[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH] shlwapi/tests: ChrCmpI* not present on Win95B
From:       Nikolay Sivov <bunglehead () gmail ! com>
Date:       2010-01-30 15:28:45
Message-ID: 4B64502D.2000706 () gmail ! com
[Download RAW message or body]

On 1/30/2010 18:25, Detlef Riekenberg wrote:
>
> @@ -608,9 +610,13 @@ static void test_StrCmpA(void)
>     static const char str2[] = {'a','B','c','d','e','f'};
>     ok(0 != StrCmpNA(str1, str2, 6), "StrCmpNA is case-insensitive\n");
>     ok(0 == StrCmpNIA(str1, str2, 6), "StrCmpNIA is case-sensitive\n");
> -  ok(!ChrCmpIA('a', 'a'), "ChrCmpIA doesn't work at all!\n");
> -  ok(!ChrCmpIA('b', 'B'), "ChrCmpIA is not case-insensitive\n");
> -  ok(ChrCmpIA('a', 'z'), "ChrCmpIA believes that a == z!\n");
> +  if (pChrCmpIA) {
> +    ok(!pChrCmpIA('a', 'a'), "ChrCmpIA doesn't work at all!\n");
> +    ok(!pChrCmpIA('b', 'B'), "ChrCmpIA is not case-insensitive\n");
> +    ok(pChrCmpIA('a', 'z'), "ChrCmpIA believes that a == z!\n");
> +  }
> +  else
> +    win_skip("ChrCmpIW() is not available\n");
>
>    
Should be ChrCmpIA() in message.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic