1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-21 12:16:54 +02:00

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

@ -230,7 +230,7 @@ func TestCommitShowCmdObj(t *testing.T) {
type scenario struct { type scenario struct {
testName string testName string
filterPath string filterPath string
contextSize int contextSize uint64
similarityThreshold int similarityThreshold int
ignoreWhitespace bool ignoreWhitespace bool
extDiffCmd string extDiffCmd string

View File

@ -100,7 +100,7 @@ func TestStashStashEntryCmdObj(t *testing.T) {
type scenario struct { type scenario struct {
testName string testName string
index int index int
contextSize int contextSize uint64
similarityThreshold int similarityThreshold int
ignoreWhitespace bool ignoreWhitespace bool
expected []string expected []string

View File

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