Fix lint: mark unused test parameter with underscore
This commit is contained in:
@@ -62,7 +62,7 @@ func TestIsNumeric(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestGetWorktreeGitDir(t *testing.T) {
|
func TestGetWorktreeGitDir(_ *testing.T) {
|
||||||
gitDir := getWorktreeGitDir()
|
gitDir := getWorktreeGitDir()
|
||||||
// Just verify it doesn't panic and returns a string
|
// Just verify it doesn't panic and returns a string
|
||||||
_ = gitDir
|
_ = gitDir
|
||||||
|
|||||||
Reference in New Issue
Block a user