зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1565563 - Add en-US to search configurations to test. r=Standard8,mconnor
Differential Revision: https://phabricator.services.mozilla.com/D37869 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
67fde77813
Коммит
879adf5842
|
@ -243,7 +243,9 @@ class SearchConfigTest {
|
|||
const data = await OS.File.read(do_get_file("all-locales").path, {
|
||||
encoding: "utf-8",
|
||||
});
|
||||
return data.split("\n").filter(e => e != "");
|
||||
// "en-US" is not in all-locales as it is the default locale
|
||||
// add it manually to ensure it is tested.
|
||||
return [...data.split("\n").filter(e => e != ""), "en-US"];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -104,7 +104,7 @@ const test = new SearchConfigTest({
|
|||
locales: { matches: ["en-US"] },
|
||||
},
|
||||
],
|
||||
excluded: [{ regions: ["au"] }],
|
||||
excluded: [{ regions: ["au", "be", "ca", "ch", "gb", "ie", "nl"] }],
|
||||
searchUrlEnd: "711-53200-19255-0/1",
|
||||
},
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче