initialize nc_ in notcurses tests #54

pull/55/head
nick black 5 years ago
parent 9f334f88df
commit 728d4775b6
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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…
Cancel
Save