From 50327ce6dc622fb396f9a358fce2569481398668 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Thu, 26 Jan 2012 12:55:34 +0000 Subject: Use termkey_new_abstract() in unit tests --- t/04flags.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 't/04flags.c') diff --git a/t/04flags.c b/t/04flags.c index d803be8..1c66c93 100644 --- a/t/04flags.c +++ b/t/04flags.c @@ -9,10 +9,7 @@ int main(int argc, char *argv[]) plan_tests(8); - /* Sanitise this just in case */ - putenv("TERM=vt100"); - - tk = termkey_new(-1, 0); + tk = termkey_new_abstract("vt100", 0); termkey_push_bytes(tk, " ", 1); -- cgit v1.2.3