aboutsummaryrefslogtreecommitdiff
path: root/tests/main.vala
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-07-17 16:06:48 -0400
committerWilliam Hua <william.hua@canonical.com>2013-07-17 16:06:48 -0400
commit5377714002d666ded4e24d910da230e42fd8b5be (patch)
treed08059452cc5f4e13367eb4765b536f3556c3a01 /tests/main.vala
parent08943a8034414894b2835d83f40fc6ae46e46feb (diff)
downloadayatana-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.vala2
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) {