From ce2e4899b56b78d502b6166b51905ab5cf82fe8a Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Fri, 3 Aug 2012 03:34:53 +0200 Subject: [PATCH] test: Add extremely rudimentary include path test Signed-off-by: Daniel Stone --- test/context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/context.c b/test/context.c index f3ca783..d6acd05 100644 --- a/test/context.c +++ b/test/context.c @@ -35,7 +35,9 @@ main(void) assert(context); - /* FIXME: Test include path stuff. */ + assert(xkb_context_num_include_paths(context) == 1); + assert(!xkb_context_include_path_append(context, "¡NONSENSE!")); + assert(xkb_context_num_include_paths(context) == 1); xkb_context_unref(context); -- 2.7.4