- ok(lstrcmpiW(stat.pwcsName, stmname) == 0, "expected CONTENTS, got %s\n", wine_dbgstr_w(stat.pwcsName)); + ok(!lstrcmpiW(stat.pwcsName, contentsW), "expected CONTENTS, got %s\n", wine_dbgstr_w(stat.pwcsName));
I prefer the "strcmp comparison 0" style because it helps me remember what the return value of strcmp means. I have to think about which of strcmp and !strcmp means "equal".