diff options
Diffstat (limited to 'tests/test_connection.cpp')
-rw-r--r-- | tests/test_connection.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/test_connection.cpp b/tests/test_connection.cpp index db8f223..05d7668 100644 --- a/tests/test_connection.cpp +++ b/tests/test_connection.cpp @@ -14,8 +14,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "instance.hpp" #include "connection.hpp" +#include "instance.hpp" #include <catch.hpp> @@ -24,12 +24,11 @@ namespace mastodonpp { - -SCENARIO ("mastodonpp::Connection.") +SCENARIO("mastodonpp::Connection.") { bool exception = false; - WHEN ("Connection is instantiated.") + WHEN("Connection is instantiated.") { try { @@ -41,7 +40,7 @@ SCENARIO ("mastodonpp::Connection.") exception = true; } - THEN ("No exception is thrown") + THEN("No exception is thrown") { REQUIRE_FALSE(exception); } |