Skip to content

Commit

Permalink
Don't assert specific error in testVertex
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Brodsky committed Jan 3, 2022
1 parent 4b4e623 commit d501e51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/apps/testapps/testVertex.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ SUITE(Vertex) {
TEST(cellToVertex_invalid) {
H3Index invalid = 0xFFFFFFFFFFFFFFFF;
H3Index vert;
t_assert(H3_EXPORT(cellToVertex)(invalid, 3, &vert) == E_CELL_INVALID,
// TODO: Assert specific error
t_assert(H3_EXPORT(cellToVertex)(invalid, 3, &vert) != E_SUCCESS,
"Invalid cell returns error");
}

Expand Down

0 comments on commit d501e51

Please sign in to comment.