diff options
author | Uli Schlachter <psychon@znc.in> | 2015-04-06 16:28:08 +0200 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2015-04-06 16:28:08 +0200 |
commit | 4911a0c8c34adb1d6c32a3f32d057f4a237b2241 (patch) | |
tree | 08b9814c866eb187156d6d689710f2d95f6485f7 | |
parent | ac6b8d89120c9c26925fa4c9bc5d8b56d4ef7113 (diff) |
Also add a test for maximum major code
Signed-off-by: Uli Schlachter <psychon@znc.in>
-rw-r--r-- | tests/test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test.c b/tests/test.c index bb7ba75..dd9ae23 100644 --- a/tests/test.c +++ b/tests/test.c @@ -339,6 +339,7 @@ static int test_valid_connection(void) err |= check_request(ctx, XCB_CREATE_WINDOW, "CreateWindow"); err |= check_request(ctx, XCB_NO_OPERATION, "NoOperation"); err |= check_request(ctx, 126, "Unknown (126)"); + err |= check_request(ctx, 0xff, "Unknown (255)"); err |= check_minor(ctx, XCB_CREATE_WINDOW, 0, NULL); err |= check_minor(ctx, XCB_CREATE_WINDOW, 42, NULL); err |= check_minor(ctx, XCB_CREATE_WINDOW, 0xffff, NULL); |