serenity/Tests/LibTest/TestNoCrash.cpp
2021-12-19 14:22:06 -08:00

15 lines
264 B
C++

/*
* 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;
});
}