summaryrefslogtreecommitdiff
path: root/Tests/LibTest/TestNoCrash.cpp
blob: d29fad6db74f45d2327e38fef6faa8e04bc5de17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright (c) 2021, the SerenityOS developers.
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include <LibTest/TestCase.h>

TEST_CASE(raise)
{
    EXPECT_NO_CRASH("This should never crash", [] {
        return Test::Crash::Failure::DidNotCrash;
    });
}