summaryrefslogtreecommitdiff
path: root/gui/tests/gtk-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/tests/gtk-test.cpp')
-rw-r--r--gui/tests/gtk-test.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/gui/tests/gtk-test.cpp b/gui/tests/gtk-test.cpp
index 4eea74a..8f897d9 100644
--- a/gui/tests/gtk-test.cpp
+++ b/gui/tests/gtk-test.cpp
@@ -5,16 +5,16 @@
#include "turnsmm/init.hpp"
+#include <catch2/internal/catch_test_run_info.hpp>
#include <catch2/reporters/catch_reporter_event_listener.hpp>
#include <catch2/reporters/catch_reporter_registrars.hpp>
+#include <adwaitamm/application.hpp>
+#include <adwaitamm/wrap_init.hpp>
#include <glibmm/i18n.h>
#include <glibmm/refptr.h>
#include <gtkmm/init.h>
-#include <adwaitamm/application.hpp>
-#include <adwaitamm/wrap_init.hpp>
-
#include <libintl.h>
#include <clocale>
@@ -37,6 +37,11 @@ namespace turns::ui::tests
Turns::init();
}
+ auto testCaseEnded(Catch::TestCaseStats const &) -> void override
+ {
+ setlocale(LC_ALL, "");
+ }
+
private:
Glib::RefPtr<Adwaita::Application> m_app{};
};