diff options
author | Alexis Lockwood | 2021-06-27 11:58:42 -0400 |
---|---|---|
committer | Alexis Lockwood | 2021-06-27 11:58:42 -0400 |
commit | c16718ca5ceeae3746b7a3111d2469f77dba0bb8 (patch) | |
tree | 21a7cfd183fcbd9490f0ab6b8d556ee67bf3f9ce | |
parent | e9e71bf42130c0ea14b8e4288d97892fafca0f7b (diff) |
Fix a crash in the unit tests
-rw-r--r-- | test/tsupport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tsupport.c b/test/tsupport.c index 115c8c5..5308200 100644 --- a/test/tsupport.c +++ b/test/tsupport.c @@ -49,6 +49,7 @@ void ls_setup_run(ls_context_t * ctx, char const * text) { ctx->fetcher = _fetcher; ctx->fetcher_ctx = (void *) text; + ctx->line_trace_hook = NULL; } // --- PRIVATE FUNCTION DEFINITIONS -------------------------------------------- |