summaryrefslogtreecommitdiff
path: root/test/libapt
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-05-04 09:57:24 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-05-04 09:57:24 +0200
commit52d9d000a74ea71edff93f00ae38aceb9ada53d4 (patch)
treee03749a63a2057b107ba900bbdbdfb9ad320c037 /test/libapt
parent3b1fffc35f3eb277d92f38c687c270edd1d8550d (diff)
parent8f40076991ecc89ab1e3c486da2696a44c285f18 (diff)
merge from the mvo branch
Diffstat (limited to 'test/libapt')
-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);