Skip to content

Commit cf90ef6

Browse files
committed
Minor fix in tests
1 parent 3203d47 commit cf90ef6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ CTEST(hmap, get_put) {
14951495

14961496
IntEntry *entry = hmap_get(&map, 2);
14971497
ASSERT_TRUE(entry != NULL);
1498-
ASSERT_TRUE(entry->value = 100);
1498+
ASSERT_TRUE(entry->value == 100);
14991499
entry->value += 50;
15001500

15011501
IntEntry *entry2 = hmap_get(&map, 2);

0 commit comments

Comments
 (0)