diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2014-03-05 01:11:45 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2014-03-05 01:11:45 +0000 |
commit | 8aa5b7acb59eb815bc32b17dc0335dc7fc129910 (patch) | |
tree | e356e6665d193eed4cc04a2e7afb1c1bc626bac3 /t/05read.c | |
parent | 97e0e9cde26fd847f2dd434c2fd175cfce6b92ee (diff) | |
download | termo-8aa5b7acb59eb815bc32b17dc0335dc7fc129910.tar.gz termo-8aa5b7acb59eb815bc32b17dc0335dc7fc129910.tar.xz termo-8aa5b7acb59eb815bc32b17dc0335dc7fc129910.zip |
Unit tests should use .code.codepoint/.sym instead of not .code.number when appropriate
Diffstat (limited to 't/05read.c')
-rw-r--r-- | t/05read.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -34,10 +34,10 @@ int main(int argc, char *argv[]) is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY after h"); - is_int(key.type, TERMKEY_TYPE_UNICODE, "key.type after h"); - is_int(key.code.number, 'h', "key.code.number after h"); - is_int(key.modifiers, 0, "key.modifiers after h"); - is_str(key.utf8, "h", "key.utf8 after h"); + is_int(key.type, TERMKEY_TYPE_UNICODE, "key.type after h"); + is_int(key.code.codepoint, 'h', "key.code.codepoint after h"); + is_int(key.modifiers, 0, "key.modifiers after h"); + is_str(key.utf8, "h", "key.utf8 after h"); is_int(termkey_get_buffer_remaining(tk), 256, "buffer free 256 after getkey"); |