test(archive): restore the escaped right-to-left mark in the year tooltip check
Moving the test into ArchiveLanguageTests turned "" into a raw,
invisible U+200F, so the line read as Assert.Contains("") and GitHub
flagged the file for hidden bidirectional text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
1 file changed
+1
-1
@@ -51,7 +51,7 @@ public sealed class ArchiveLanguageTests
|
|||||||
{
|
{
|
||||||
Loc.SetCulture(CultureInfo.GetCultureInfo("he"));
|
Loc.SetCulture(CultureInfo.GetCultureInfo("he"));
|
||||||
Assert.Equal(Loc.L("Tooltips.Archive.YearRowRtl", "2026" + Loc.Separator + year.Detail), year.RowToolTip, "the arrow keys of a mirrored tree");
|
Assert.Equal(Loc.L("Tooltips.Archive.YearRowRtl", "2026" + Loc.Separator + year.Detail), year.RowToolTip, "the arrow keys of a mirrored tree");
|
||||||
Assert.Contains("", year.RowToolTip, "right-to-left marks keep the year and its figures apart");
|
Assert.Contains("\u200F", year.RowToolTip, "right-to-left marks keep the year and its figures apart");
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user