Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <[email protected]>
  • Loading branch information
mgovers committed Aug 20, 2024
1 parent be89b60 commit 401d524
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/c_api_tests/test_c_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ TEST_CASE("C API") {
// get handle
HandlePtr const unique_handle{PGM_IO_create_handle()};
REQUIRE(unique_handle != nullptr);
PGM_IO_Handle* hl = unique_handle.get();
CHECK(PGM_IO_error_code(hl) == PGM_IO_no_error);
CHECK(PGM_IO_error_code(unique_handle.get()) == PGM_IO_no_error);
}

} // namespace power_grid_model_io_native

0 comments on commit 401d524

Please sign in to comment.