[PATCH] mscms/tests: Represent expected copyright tag in plain text
Alex Henrie
alexhenrie24 at gmail.com
Wed Nov 11 00:27:25 CST 2020
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
In this case, embedding a few null characters into the middle of a
string actually makes it much more understandable.
---
dlls/mscms/tests/profile.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c
index 2ef20129e63..43b6ed2caa6 100644
--- a/dlls/mscms/tests/profile.c
+++ b/dlls/mscms/tests/profile.c
@@ -237,12 +237,7 @@ static void test_GetColorProfileElement( char *standardprofile )
DWORD size;
TAGTYPE tag = 0x63707274; /* 'cprt' */
static char buffer[51];
- static const char expect[] =
- { 0x74, 0x65, 0x78, 0x74, 0x00, 0x00, 0x00, 0x00, 0x43, 0x6f, 0x70,
- 0x79, 0x72, 0x69, 0x67, 0x68, 0x74, 0x20, 0x28, 0x63, 0x29, 0x20,
- 0x31, 0x39, 0x39, 0x38, 0x20, 0x48, 0x65, 0x77, 0x6c, 0x65, 0x74,
- 0x74, 0x2d, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x72, 0x64, 0x20, 0x43,
- 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x00 };
+ static const char expect[] = "text\0\0\0\0Copyright (c) 1998 Hewlett-Packard Company";
profile.dwType = PROFILE_FILENAME;
profile.pProfileData = standardprofile;
--
2.29.2
More information about the wine-devel
mailing list