use unsigned integer in test and fix CI/linter complaint

This commit is contained in:
LU Jialin 2024-11-08 22:22:33 -08:00 committed by Jesse Duffield
parent dd765801db
commit de8dc935a3
3 changed files with 4 additions and 4 deletions

View file

@ -210,7 +210,7 @@ func TestWorkingTreeDiff(t *testing.T) {
plain bool
cached bool
ignoreWhitespace bool
contextSize int
contextSize uint64
similarityThreshold int
runner *oscommands.FakeCmdObjRunner
}
@ -352,7 +352,7 @@ func TestWorkingTreeShowFileDiff(t *testing.T) {
reverse bool
plain bool
ignoreWhitespace bool
contextSize int
contextSize uint64
runner *oscommands.FakeCmdObjRunner
}