summaryrefslogtreecommitdiff
path: root/tests/util.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-09-02 15:48:41 +0200
committerXavier Claessens <xclaesse@gmail.com>2010-09-02 15:51:41 +0200
commit98379bcc4050b502d445036b1619db7e5b4b13c8 (patch)
tree423ecd33d0e35d6bd6fca1b982cca37cd4243ad2 /tests/util.c
parentdeb0cc14b4a59787fc0f6571908173b83fa603ab (diff)
Add utf8 char to the tests of tp_escape_as_identifier()
Diffstat (limited to 'tests/util.c')
-rw-r--r--tests/util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/util.c b/tests/util.c
index c3adc3dc..c2782366 100644
--- a/tests/util.c
+++ b/tests/util.c
@@ -83,6 +83,10 @@ int main (int argc, char **argv)
g_assert (!tp_strdiff (string, "_30123abc_5fxyz_01_ff"));
g_free (string);
+ string = tp_escape_as_identifier ("©");
+ g_assert (!tp_strdiff (string, "_c2_a9"));
+ g_free (string);
+
test_strv_contains ();
test_value_array_build ();