Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5e5e1c1

Browse files
Fix codespell: rename test ref to avoid 'caf' typo detection
1 parent963604b commit5e5e1c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/test_refs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ def test_packed_refs_with_non_utf8_encoding(self, rw_repo):
653653
# Add a fake ref with Latin-1 encoded name (ñ = 0xF1 in Latin-1, invalid UTF-8)
654654
# Using a valid SHA from the repo
655655
head_sha=rw_repo.head.commit.hexsha
656-
non_utf8_line=f"\n{head_sha} refs/tags/caf\xf1\n".encode("latin-1")
656+
non_utf8_line=f"\n{head_sha} refs/tags/test-\xf1ame\n".encode("latin-1")
657657

658658
withopen(packed_refs_path,"wb")asf:
659659
f.write(content+non_utf8_line)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp