From 5377714002d666ded4e24d910da230e42fd8b5be Mon Sep 17 00:00:00 2001 From: William Hua Date: Wed, 17 Jul 2013 16:06:48 -0400 Subject: Relax test that fails when IBus runs headless. --- tests/main.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/main.vala b/tests/main.vala index 4e121fcd..f4577f83 100644 --- a/tests/main.vala +++ b/tests/main.vala @@ -648,7 +648,7 @@ static void test_update_input_sources (void *data) { section.get_item_attribute (2, Menu.ATTRIBUTE_LABEL, "s", out label); assert (strcmp (label, "Esperanto") == 0); section.get_item_attribute (3, Menu.ATTRIBUTE_LABEL, "s", out label); - assert (strcmp (label, "Pinyin") == 0); + assert (label.ascii_casecmp ("Pinyin") == 0); } public int main (string[] args) { -- cgit v1.2.3