TestNoCrash.cpp 264 B

1234567891011121314
  1. /*
  2. * Copyright (c) 2021, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <LibTest/TestCase.h>
  7. TEST_CASE(raise)
  8. {
  9. EXPECT_NO_CRASH("This should never crash", [] {
  10. return Test::Crash::Failure::DidNotCrash;
  11. });
  12. }