summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-05-04 10:02:15 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-05-04 10:02:15 +0200
commit549edd163e34a50091623b47881f2eefbdc53aca (patch)
treeec46425ae005e8e426727ab896e7614df06aced6 /test
parent259f688a29728604d7930662e9743619982706ab (diff)
parent52d9d000a74ea71edff93f00ae38aceb9ada53d4 (diff)
merged from the debian-sid branch
Diffstat (limited to 'test')
-rw-r--r--test/libapt/getlanguages_test.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/libapt/getlanguages_test.cc b/test/libapt/getlanguages_test.cc
index 0db190b50..9a8910b58 100644
--- a/test/libapt/getlanguages_test.cc
+++ b/test/libapt/getlanguages_test.cc
@@ -43,6 +43,13 @@ int main(int argc,char *argv[])
equals(vec[0], "en_GB");
equals(vec[1], "en");
+ // esperanto
+ env[0] = "eo.UTF-8";
+ vec = APT::Configuration::getLanguages(false, false, env);
+ equals(vec.size(), 2);
+ equals(vec[0], "eo");
+ equals(vec[1], "en");
+
env[0] = "tr_DE@euro";
vec = APT::Configuration::getLanguages(false, false, env);
equals(vec.size(), 2);