aboutsummaryrefslogtreecommitdiff
path: root/t/01base.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-26 12:55:34 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-01-26 12:55:34 +0000
commit50327ce6dc622fb396f9a358fce2569481398668 (patch)
treeebed7fdd88fb7d133551d4bf2411064f642d2c76 /t/01base.c
parentea2d3073ac177d95fc14c310178aa2b7455b060a (diff)
downloadtermo-50327ce6dc622fb396f9a358fce2569481398668.tar.gz
termo-50327ce6dc622fb396f9a358fce2569481398668.tar.xz
termo-50327ce6dc622fb396f9a358fce2569481398668.zip
Use termkey_new_abstract() in unit tests
Diffstat (limited to 't/01base.c')
-rw-r--r--t/01base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/01base.c b/t/01base.c
index 88e2c84..3f7ef13 100644
--- a/t/01base.c
+++ b/t/01base.c
@@ -8,9 +8,9 @@ int main(int argc, char *argv[])
plan_tests(2);
- tk = termkey_new(-1, 0);
+ tk = termkey_new_abstract("vt100", 0);
- ok(!!tk, "termkey_new");
+ ok(!!tk, "termkey_new_abstract");
termkey_destroy(tk);