Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in comments #3274

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions codespell_lib/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def _helper_test_case_handling_in_fixes(
else:
dictionary_name.write_text("adoptor->adopter, adaptor,\n")

# the mispelled word is entirely lowercase
# the misspelled word is entirely lowercase
fname = tmp_path / "bad.txt"
fname.write_text("early adoptor\n")
result = cs.main("-D", dictionary_name, fname, std=True)
Expand All @@ -653,7 +653,7 @@ def _helper_test_case_handling_in_fixes(
if reason:
assert "reason" in stdout

# the mispelled word is capitalized
# the misspelled word is capitalized
fname.write_text("Early Adoptor\n")
result = cs.main("-D", dictionary_name, fname, std=True)
assert isinstance(result, tuple)
Expand All @@ -664,7 +664,7 @@ def _helper_test_case_handling_in_fixes(
if reason:
assert "reason" in stdout

# the mispelled word is entirely uppercase
# the misspelled word is entirely uppercase
fname.write_text("EARLY ADOPTOR\n")
result = cs.main("-D", dictionary_name, fname, std=True)
assert isinstance(result, tuple)
Expand All @@ -675,7 +675,7 @@ def _helper_test_case_handling_in_fixes(
if reason:
assert "reason" in stdout

# the mispelled word mixes lowercase and uppercase
# the misspelled word mixes lowercase and uppercase
fname.write_text("EaRlY AdOpToR\n")
result = cs.main("-D", dictionary_name, fname, std=True)
assert isinstance(result, tuple)
Expand Down
Loading