]> git.lizzy.rs Git - micro.git/commitdiff
Fix backup call in test
authorZachary Yedidia <zyedidia@gmail.com>
Mon, 22 Jun 2020 22:20:01 +0000 (18:20 -0400)
committerZachary Yedidia <zyedidia@gmail.com>
Mon, 22 Jun 2020 22:20:01 +0000 (18:20 -0400)
cmd/micro/micro_test.go

index 7029a93f3cfcda68dbc9bd39cb20c9eb65d0a94e..ec99b2485e8f7cee15be256ae73a102e0c0d894d 100644 (file)
@@ -56,7 +56,7 @@ func startup(args []string) (tcell.SimulationScreen, error) {
                        fmt.Println("Micro encountered an error:", err)
                        // backup all open buffers
                        for _, b := range buffer.OpenBuffers {
-                               b.Backup(false)
+                               b.Backup()
                        }
                        // Print the stack trace too
                        log.Fatalf(errors.Wrap(err, 2).ErrorStack())