Commit 140a610e authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

kernel32: Be more verbose about the expected and received values for failures in…

kernel32: Be more verbose about the expected and received values for failures in the resource function tests.
parent b8035d2c
......@@ -211,8 +211,8 @@ void check_empty( IMAGE_RESOURCE_DIRECTORY *dir )
{
char *pad;
ok( dir->NumberOfNamedEntries == 0, "NumberOfNamedEntries wrong\n");
ok( dir->NumberOfIdEntries == 0, "NumberOfIdEntries wrong\n");
ok( dir->NumberOfNamedEntries == 0, "NumberOfNamedEntries should be 0 instead of %d\n", dir->NumberOfNamedEntries);
ok( dir->NumberOfIdEntries == 0, "NumberOfIdEntries should be 0 instead of %d\n", dir->NumberOfIdEntries);
pad = (char*) &dir[1];
......@@ -221,8 +221,8 @@ void check_empty( IMAGE_RESOURCE_DIRECTORY *dir )
void check_version( IMAGE_RESOURCE_DIRECTORY *dir )
{
ok( dir->NumberOfNamedEntries == 0, "NumberOfNamedEntries wrong\n");
todo_wine ok( dir->NumberOfIdEntries == 2, "NumberOfIdEntries wrong\n");
ok( dir->NumberOfNamedEntries == 0, "NumberOfNamedEntries should be 0 instead of %d\n", dir->NumberOfNamedEntries);
todo_wine ok( dir->NumberOfIdEntries == 2, "NumberOfIdEntries should be 2 instead of %d\n", dir->NumberOfIdEntries);
}
void check_exe( res_check_func fn )
......
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