From d8635ac6f0d91f110587df4a9d5a60a2154b55c3 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 24 Jan 2020 18:07:14 -0500 Subject: more #builtin --- identifiers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'identifiers.c') diff --git a/identifiers.c b/identifiers.c index a17c002..5e0f531 100644 --- a/identifiers.c +++ b/identifiers.c @@ -200,11 +200,11 @@ static void idents_test(void) { char *s = b; idents_create(&ids); Identifier i1 = ident_insert(&ids, &s); - assert(strcmp(s, " bar") == 0); + assert(strs_equal(s, " bar")); char b2[] = "foo_variable+6"; s = b2; Identifier i2 = ident_insert(&ids, &s); - assert(strcmp(s, "+6") == 0); + assert(strs_equal(s, "+6")); assert(i1 == i2); idents_free(&ids); -- cgit v1.2.3