Skip to content

Name the tests after the classic look, not another product - #2

Merged
Saixus merged 1 commit into
mainfrom
claude/rename-far-test-names
Sep 24, 2026
Merged

Saixus merged 1 commit into
mainfrom
claude/rename-far-test-names

Conversation

@Saixus

@Saixus Saixus commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Summary

Renames seven xunit test methods whose names referenced another file manager, so they describe the behaviour on its own terms. Only the method names change - no bodies, no other files.

File Before After
CommandLineArgsTests.cs NothingConfiguredMeansTheTableFarInstalls NothingConfiguredMeansTheWindowsNtTable
FileMaskTests.cs FarStyleExcludesFollowAPipe ClassicStyleExcludesFollowAPipe
InputTests.cs ToDisplayString_UsesFarNotation ToDisplayString_UsesTheClassicNotation
PaletteTests.cs TheFarPanelPairIsDeepNavyAndBrightCyan TheClassicPanelPairIsDeepNavyAndBrightCyan
RenderingTests.cs ScrollBarGlyphsAreTheFarOnes ScrollBarGlyphsAreTheClassicShades
ThemeTests.cs ANewThemeAlreadyCarriesTheFarPalette ANewThemeAlreadyCarriesTheClassicPalette
TextBufferTests.cs TheDefaultTabStopIsEightMatchingFarAndTheViewer TheDefaultTabStopIsEightMatchingTheClassicConsoleAndTheViewer

TheDominantPanelPairIsFarCrisperUnderVgaThanUnderCampbell and MaxDepthLimitsHowFarTheWalkGoes use the English word and are left alone. None of the renamed tests had a doc comment naming the product.

Test plan

  • dotnet test tests/OpenStus.Tests/OpenStus.Tests.csproj - 1842 passed
  • Far[A-Z]|\bFar\b outside README.md, docs/index.html and NOTICE.md matches only the two English-word tests above

🤖 Generated with Claude Code

Seven test methods still carried another file manager's name; they now
describe the behaviour on its own terms. Only the method names change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Saixus
Saixus merged commit 159fdc6 into main Sep 24, 2026
2 checks passed
@Saixus
Saixus deleted the claude/rename-far-test-names branch September 24, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant