Skip to content

Commit 524aa01

Browse files
committed
Fixed locale test to ensure it's run on the message thread
1 parent e683b33 commit 524aa01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/tests/LocaleTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
struct LocaleTest : public PluginTest
2020
{
2121
LocaleTest()
22-
: PluginTest ("Ensuring that the locale does not change during execution", 1)
22+
: PluginTest ("Ensuring that the locale does not change during execution", 1,
23+
{ Requirements::Thread::messageThread, Requirements::GUI::requiresGUI })
2324
{
2425
startupLocale = std::setlocale(LC_ALL, nullptr);
2526
}

0 commit comments

Comments
 (0)