summaryrefslogtreecommitdiff
path: root/test/util/assert.cpp
blob: cf7baf8ca9f760024bf559708c51475c289d5834 (plain)
1
2
3
4
5
6
7
8
9
#include <mbgl/test/util.hpp>

#include <mbgl/util/assert.hpp>

using namespace mbgl;

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