summaryrefslogtreecommitdiff
path: root/test/libapt/getlanguages_test.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-05-04 13:26:49 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-05-04 13:26:49 +0200
commit6ee2b0f83ea3c41b52c8076eac63f921c51b9887 (patch)
tree545614a9d8074a34ec7daf2491c8a037055e62be /test/libapt/getlanguages_test.cc
parent173ae2a460b905b18911f42964fd38dbac2959d6 (diff)
parent52d9d000a74ea71edff93f00ae38aceb9ada53d4 (diff)
merge from the debian-sid branch
Diffstat (limited to 'test/libapt/getlanguages_test.cc')
-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);