shlwapi/tests: Add tests for PathIsRelativeA/W.

Alexandre Julliard julliard at winehq.org
Tue Jul 1 12:53:13 CDT 2014


Zhenbo Li <litimetal at gmail.com> writes:

> +void test_PathIsRelativeA(void)
> +{
> +    BOOL ret;
> +    int i, num;
> +    static const char *flag[2] = {"FALSE", "TRUE"};

This is not a good idea. There's no guarantee that the return value is
always 0 or 1.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list