From 5779ec3cd1e2a286265837bad264125c55875be8 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Mon, 13 Feb 2012 21:57:33 +0000 Subject: Added (undocumented) termkey_get_buffer_size() --- t/01base.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 't') diff --git a/t/01base.c b/t/01base.c index 3f7ef13..54ad44d 100644 --- a/t/01base.c +++ b/t/01base.c @@ -6,12 +6,14 @@ int main(int argc, char *argv[]) { TermKey *tk; - plan_tests(2); + plan_tests(3); tk = termkey_new_abstract("vt100", 0); ok(!!tk, "termkey_new_abstract"); + is_int(termkey_get_buffer_size(tk), 256, "termkey_get_buffer_size"); + termkey_destroy(tk); ok(1, "termkey_free"); -- cgit v1.2.3-70-g09d2