From 9941c06c33c601a3e59c008c35c6181ba8a2e7f9 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sat, 15 Dec 2018 12:07:00 +0100 Subject: testing: rework test code --- tests/wanda/test_suite_xdg.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/wanda/test_suite_xdg.cpp') diff --git a/tests/wanda/test_suite_xdg.cpp b/tests/wanda/test_suite_xdg.cpp index 0338ee3..70597f7 100644 --- a/tests/wanda/test_suite_xdg.cpp +++ b/tests/wanda/test_suite_xdg.cpp @@ -1,13 +1,14 @@ -#include "test_suite_xdg.hpp" #include -#include "cute/cute.h" +#include #include #include +#include +#include -namespace wanda +namespace wanda::test { namespace @@ -76,7 +77,7 @@ void test_xdg_path_for_runtime_dir_with_xdg_runtime_dir_in_environment() ASSERT_EQUAL("/home/cute/xdg_runtime_dir", xdg_path_for(xdg_directory::runtime_dir, env)); } -std::pair test_suite_xdg() +std::pair suite() { return std::make_pair(cute::suite{ CUTE(test_xdg_variables), -- cgit v1.2.3