From: Uwe Hermann Date: Tue, 8 Jan 2019 22:27:04 +0000 (+0100) Subject: tests/init: Srf::deinit() should not throw. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=41a23eb67f2db953ad15266b614430d908749c23;p=libsigrokflow.git tests/init: Srf::deinit() should not throw. --- diff --git a/tests/init.cpp b/tests/init.cpp index 89cb23e..7dbd8d5 100644 --- a/tests/init.cpp +++ b/tests/init.cpp @@ -29,6 +29,10 @@ TEST_CASE("init/deinit", "[init]") SECTION("Multiple Srf::init() calls should throw") { for (int i = 0; i < 10; ++i) CHECK_THROWS(Srf::init()); + CHECK_NOTHROW(Srf::deinit()); + } + SECTION("Srf::deinit() should not throw") { + CHECK_NOTHROW(Srf::deinit()); } }