1
0
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:
Jesse Duffield
2021-04-05 12:45:27 +10:00
parent 7953e58c74
commit 4d14af5d4b
3 changed files with 16 additions and 35 deletions

View File

@@ -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)
}
}