Commit 55cd9078 authored by Philip Van Hoof's avatar Philip Van Hoof

Fix encoding unit test to the initialize locale system

parent 5d74f18b
......@@ -22,6 +22,7 @@
#include <glib-object.h>
#include <libtracker-extract/tracker-encoding.h>
#include <libtracker-common/tracker-locale.h>
static void
test_encoding_guessing ()
......@@ -58,8 +59,10 @@ main (int argc, char **argv)
g_type_init ();
g_test_init (&argc, &argv, NULL);
tracker_locale_init ();
g_test_add_func ("/libtracker-extract/tracker-encoding/encoding_guessing",
tracker_locale_shutdown ();
return g_test_run ();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment