summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2013-03-18 21:03:00 +0000
committerDaniel Stone <daniel@fooishbar.org>2013-03-19 10:34:28 +0000
commitd4c22ecc8a272da5d21f2b7991edf200b8873dea (patch)
tree27a7444f0edb81e3d2c7c8c7d2ff0e6801ef84da /test
parent54f95f496f58e1cce7a6af1925adf61eb5d44591 (diff)
test: Use test_get_context() in log.c
Since the only behavioural change is overriding default includes. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'test')
-rw-r--r--test/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/log.c b/test/log.c
index 08de3d8..96e2566 100644
--- a/test/log.c
+++ b/test/log.c
@@ -74,7 +74,7 @@ main(void)
assert(ret == 0);
ret = setenv("XKB_LOG_VERBOSITY", "5", 1);
assert(ret == 0);
- ctx = xkb_context_new(0);
+ ctx = test_get_context(0);
assert(ctx);
darray_init(log_string);