You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
liblangtag/0001-ro-MD-ro-to-get-make-c...

26 lines
866 B

From f46641f735e8a22d4c2a2002d0b6b90ff7a664b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
Date: Thu, 30 Jun 2022 10:19:18 +0100
Subject: [PATCH] ro-MD -> ro to get make check to succeed
---
tests/check-tag.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/check-tag.c b/tests/check-tag.c
index 99466e2..29e738b 100644
--- a/tests/check-tag.c
+++ b/tests/check-tag.c
@@ -197,7 +197,7 @@ TDEF (lt_tag_canonicalize) {
fail_unless(lt_tag_parse(t1, "mo", NULL), "should be valid langtag.");
s = lt_tag_canonicalize(t1, NULL);
fail_unless(s != NULL, "Unable to be canonicalize.");
- fail_unless(lt_strcmp0(s, "ro-MD") == 0, "Unexpected result to be canonicalized.");
+ fail_unless(lt_strcmp0(s, "ro") == 0, "Unexpected result to be canonicalized.");
free(s);
lt_tag_unref(t1);
--
2.36.1