mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-26 16:03:10 +03:00
more lint fixes
This commit is contained in:
@@ -223,10 +223,12 @@ func Test() error {
|
||||
|
||||
err := createFixture(testPath, actualDir)
|
||||
if err != nil {
|
||||
// return err
|
||||
return err
|
||||
}
|
||||
|
||||
runLazygit(testPath, rootDir, record, speed)
|
||||
if err := runLazygit(testPath, rootDir, record, speed); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if updateSnapshots {
|
||||
err = oscommands.CopyDir(actualDir, expectedDir)
|
||||
@@ -431,5 +433,8 @@ func prepareIntegrationTestDir(actualDir string) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
Test()
|
||||
err := Test()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user