Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #6 from measurement-kit/fix/appveyor
Browse files Browse the repository at this point in the history
Attempt to repair appveyor build
  • Loading branch information
bassosimone authored Jan 7, 2019
2 parents 0b9b547 + acd2e46 commit 01915a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion unit-tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,8 @@ TEST_CASE("When lookup_org fails because MMDB provides us a bad value") {
}

TEST_CASE("MKMMDB_ABORT_IF_NULLPTR works as expected") {
REQUIRE_THROWS([]() { MKMMDB_ABORT_IF_NULLPTR(nullptr); }());
REQUIRE_THROWS([]() {
const char *p = nullptr;
MKMMDB_ABORT_IF_NULLPTR(p);
}());
}

0 comments on commit 01915a0

Please sign in to comment.