summaryrefslogtreecommitdiff
path: root/test/libapt/getlanguages_test.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-07-25 13:55:23 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-07-25 13:55:23 +0200
commitfce1153321e432ed4a64e9742a8fc1c5558124e4 (patch)
treed0cf4e691c44196a7bc4b1347482ec72586cb43e /test/libapt/getlanguages_test.cc
parentc3182c823bdba037e7f1daaffde8b44155ff4f48 (diff)
the order of languages after "none" is not important, so ignore it in tests
Diffstat (limited to 'test/libapt/getlanguages_test.cc')
-rw-r--r--test/libapt/getlanguages_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libapt/getlanguages_test.cc b/test/libapt/getlanguages_test.cc
index 707142aef..3d63e0e74 100644
--- a/test/libapt/getlanguages_test.cc
+++ b/test/libapt/getlanguages_test.cc
@@ -138,8 +138,8 @@ int main(int argc,char *argv[])
equals(vec[1], "de");
equals(vec[2], "en");
equals(vec[3], "none");
- equals(vec[4], "pt");
- equals(vec[5], "tr");
+ equalsOr2(vec[4], "pt", "tr");
+ equalsOr2(vec[5], "tr", "pt");
_config->Set("Dir::State::lists", "/non-existing-dir");
_config->Set("Acquire::Languages::1", "none");