Closed Bug 1862287 Opened 1 year ago Closed 1 year ago

Drop use of locales.matches and locales.startsWith in search engine configuration tests

Categories

(Firefox :: Search, task, P3)

task

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In our search engine configuration tests we are currently defining locales to compare with using the following structure:

locales: {
  matches: ["af"],
  startsWith: ["bn", "en"],
}

In the new configuration, we are going to be using a straight list which is an array of locales.

I'd like to update our tests to do that now, as it makes it simpler to understand and remember.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3d9fe41a2515 Drop use of locales.matches and locales.startsWith in search engine configuration tests. r=search-reviewers,daleharvey
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: