[test] minor, c style comments

This commit is contained in:
Ebrahim Byagowi 2019-04-02 20:27:00 +04:30 committed by GitHub
parent afdbf960d6
commit 062f5d6e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -174,12 +174,12 @@ main (int argc, char **argv)
| hb_reduce ([&] (hb_map_t *acc, hb_set_t *value) -> hb_map_t * | hb_reduce ([&] (hb_map_t *acc, hb_set_t *value) -> hb_map_t *
{ {
hb_map_set (acc, temp2++, hb_set_get_population (value)); hb_map_set (acc, temp2++, hb_set_get_population (value));
// This is not a memory managed language, take care! /* This is not a memory managed language, take care! */
hb_set_destroy (value); hb_set_destroy (value);
return acc; return acc;
}, hb_map_create ()) }, hb_map_create ())
; ;
// The result should be something like 0->10, 1->11, ..., 9->19 /* The result should be something like 0->10, 1->11, ..., 9->19 */
assert (hb_map_get (result, 9) == 19); assert (hb_map_get (result, 9) == 19);
unsigned int temp3 = 0; unsigned int temp3 = 0;