Commit 83a9986c4af8fb0f3903d79f9755c3f780c0058c

Thomas de Grivel 2023-09-05T15:22:30

asan

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/env_test.c b/test/env_test.c
index 2dad03c..de7dd2e 100644
--- a/test/env_test.c
+++ b/test/env_test.c
@@ -50,6 +50,8 @@ TEST_CASE(env_eval_equal_tag)
   TEST_ASSERT(env_eval_equal_tag(&env, tag_init_1(&x, "x"),
                                  tag_init_1(&y, "(1, 2)"), &z));
   TEST_ASSERT(frame_get(&frame, sym_1("x")));
+  TEST_EQ(compare_tag(&z, &y), 0);
+  tag_clean(&z);
   env.frame = frame_clean(&frame);
   env_clean(&env);
   env_init(&env);