diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-20 23:01:12 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-20 23:01:12 +0100 |
commit | 977b8f16d7ef43101b6ef588f9610f34285fa7e6 (patch) | |
tree | 25446bc027685765a79492d3b68c49bdee53612b /tests | |
parent | b869c926429e9316617a643960a97fad64dd42ef (diff) | |
download | YAGE-977b8f16d7ef43101b6ef588f9610f34285fa7e6.tar.gz YAGE-977b8f16d7ef43101b6ef588f9610f34285fa7e6.zip |
Replacing SDL by glfw
Diffstat (limited to 'tests')
-rw-r--r-- | tests/yagetest.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/yagetest.cpp b/tests/yagetest.cpp index 0b8615bc..38d00ba3 100644 --- a/tests/yagetest.cpp +++ b/tests/yagetest.cpp @@ -11,8 +11,12 @@ TEST(YAGE, InitQuit) { - ASSERT_TRUE(yage::init()); - yage::quit(); + try { + yage::init(); + yage::quit(); + } catch(std::runtime_error e) { + ASSERT_TRUE(false); + } } int main(int argc, char **argv) |