summaryrefslogtreecommitdiffstats
path: root/tests/tdef
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tdef')
-rw-r--r--tests/tdef/tdef_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tdef/tdef_test.c b/tests/tdef/tdef_test.c
index 276330a8..9c0808ea 100644
--- a/tests/tdef/tdef_test.c
+++ b/tests/tdef/tdef_test.c
@@ -475,7 +475,7 @@ int main(int argc, char **argv)
log_set_print_category(osmo_stderr_target, 1);
log_set_use_color(osmo_stderr_target, 0);
- osmo_fsm_register(&test_tdef_fsm);
+ OSMO_ASSERT(osmo_fsm_register(&test_tdef_fsm) == 0);
test_tdef_get(argc > 1);
test_tdef_get_nonexisting();