mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
use unsigned integer in test and fix CI/linter complaint
This commit is contained in:
parent
dd765801db
commit
de8dc935a3
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue