mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
initialize nc_ in notcurses tests #54
This commit is contained in:
parent
9f334f88df
commit
728d4775b6
@ -13,7 +13,6 @@ class EGCPoolTest : public :: testing::Test {
|
||||
}
|
||||
|
||||
egcpool pool_{};
|
||||
|
||||
};
|
||||
|
||||
TEST_F(EGCPoolTest, Initialized) {
|
||||
|
@ -22,9 +22,16 @@ class NotcursesTest : public :: testing::Test {
|
||||
}
|
||||
}
|
||||
|
||||
struct notcurses* nc_;
|
||||
struct notcurses* nc_{};
|
||||
};
|
||||
|
||||
TEST_F(NotcursesTest, NotcursesVersionString) {
|
||||
const char* ver = notcurses_version();
|
||||
ASSERT_NE(nullptr, ver);
|
||||
ASSERT_LT(0, strlen(ver));
|
||||
std::cout << "notcurses version " << ver << std::endl;
|
||||
}
|
||||
|
||||
TEST_F(NotcursesTest, BasicLifetime) {
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user