diff options
author | William Hua <william.hua@canonical.com> | 2013-07-17 16:06:48 -0400 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2013-07-17 16:06:48 -0400 |
commit | 5377714002d666ded4e24d910da230e42fd8b5be (patch) | |
tree | d08059452cc5f4e13367eb4765b536f3556c3a01 /tests/main.vala | |
parent | 08943a8034414894b2835d83f40fc6ae46e46feb (diff) | |
download | ayatana-indicator-keyboard-5377714002d666ded4e24d910da230e42fd8b5be.tar.gz ayatana-indicator-keyboard-5377714002d666ded4e24d910da230e42fd8b5be.tar.bz2 ayatana-indicator-keyboard-5377714002d666ded4e24d910da230e42fd8b5be.zip |
Relax test that fails when IBus runs headless.
Diffstat (limited to 'tests/main.vala')
-rw-r--r-- | tests/main.vala | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |