aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-28 21:15:39 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-28 21:15:39 -0600
commitc3ee494eefcabd48eb0d2cb8ea8cf8cb1600331a (patch)
tree1e88fcbcf84cec7ce3bfe68b709032209d4ffeb6 /tests
parenta82d0fd7cbad9bff96fafae17b2922e1e9d99972 (diff)
downloadayatana-indicator-datetime-c3ee494eefcabd48eb0d2cb8ea8cf8cb1600331a.tar.gz
ayatana-indicator-datetime-c3ee494eefcabd48eb0d2cb8ea8cf8cb1600331a.tar.bz2
ayatana-indicator-datetime-c3ee494eefcabd48eb0d2cb8ea8cf8cb1600331a.zip
ensure the unit tests' default locale supports utf-8
Diffstat (limited to 'tests')
-rw-r--r--tests/glib-fixture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/glib-fixture.h b/tests/glib-fixture.h
index 3f517d4..1914b8c 100644
--- a/tests/glib-fixture.h
+++ b/tests/glib-fixture.h
@@ -61,7 +61,7 @@ class GlibFixture : public ::testing::Test
virtual void SetUp()
{
- setlocale(LC_ALL, "");
+ setlocale(LC_ALL, "C.UTF-8");
loop = g_main_loop_new(nullptr, false);