summaryrefslogtreecommitdiff
path: root/test/miscellaneous/assert.cpp
blob: f3eba009f086c5b6545fdd247cc3a9cd3ab7dde4 (plain)
1
2
3
4
5
6
7
8
9
#include "../fixtures/util.hpp"

#include <mbgl/util/assert.hpp>

using namespace mbgl;

TEST(Assert, Always) {
    EXPECT_DEATH(assert_always(true == false), "failed assertion `true == false'");
}