Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
qgymib committed Aug 22, 2024
1 parent 7dab972 commit 1bc41eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/cases/fs_mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ TEST_F(fs, mmap_size_0_rd)

const char* content = view->addr;
ASSERT_EQ_STR(content, s_file_content);
ASSERT_EQ_SIZE(view->size, strlen(s_file_content) + 1);

ev_file_munmap(view);
ev_free(view);
Expand Down

0 comments on commit 1bc41eb

Please sign in to comment.