aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-02-13 21:57:33 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-02-13 21:57:33 +0000
commit5779ec3cd1e2a286265837bad264125c55875be8 (patch)
tree2b87382bc3646827f28823e8ef787138d974308a /t
parentee12c698da34cb707899e666f7a57cc4bf241623 (diff)
downloadtermo-5779ec3cd1e2a286265837bad264125c55875be8.tar.gz
termo-5779ec3cd1e2a286265837bad264125c55875be8.tar.xz
termo-5779ec3cd1e2a286265837bad264125c55875be8.zip
Added (undocumented) termkey_get_buffer_size()
Diffstat (limited to 't')
-rw-r--r--t/01base.c4
1 files changed, 3 insertions, 1 deletions
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");