aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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) {