Commit Graph
1 Commits
Author SHA1 Message Date
Claude bef602a9c4 test: the language guard switches back to English before failing the test
Loc.SetCulture stores the new culture before it raises CultureChanged, so the
guard's exception left the process in the other language until the offending
test's own cleanup ran, or for good, and the parallel classes asserting English
failed beside it. Both test programs now restore English first (the switch back
passes the guard) and then fail the test, naming it and the language it chose.
LanguageGuardTests runs a non-serial fixture through the runner and checks the
failure message, that English is back and that later listeners only hear of
English.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-12 10:34:33 +00:00