mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
11 lines
190 B
C++
11 lines
190 B
C++
#define NCPP_EXCEPTIONS_PLEASE
|
|
#include "main.h"
|
|
|
|
TEST_CASE("Exceptions") {
|
|
|
|
SUBCASE("Notcurses") {
|
|
CHECK_THROWS_AS(ncpp::NotCurses::get_instance(), ncpp::invalid_state_error);
|
|
}
|
|
|
|
}
|