1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-27 00:51:18 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
9cc1d65280 Add demo test variant
We're piggybacking on our existing integration test framework to record  demos that we can include in our docs
2023-07-31 22:33:04 +10:00
975d2bedb6 Remove secureexec package
From the go 1.19 release notes:

Command and LookPath no longer allow results from a PATH search to be found relative to the current directory. This removes a common source of security problems but may also break existing programs that depend on using, say, exec.Command("prog") to run a binary named prog (or, on Windows, prog.exe) in the current directory. See the os/exec package documentation for information about how best to update such programs.
2023-07-30 19:59:51 +10:00
e33fe37a99 Standardise on using lo for slice functions
We've been sometimes using lo and sometimes using my slices package, and we need to pick one
for consistency. Lo is more extensive and better maintained so we're going with that.

My slices package was a superset of go's own slices package so in some places I've just used
the official one (the methods were just wrappers anyway).

I've also moved the remaining methods into the utils package.
2023-07-30 18:51:23 +10:00
866e0a618b Add integration test for accordion mode 2023-07-19 22:17:29 +10:00
8121a0cc74 remove old integration test recording code 2023-03-24 18:42:11 +11:00
5a50bfd179 Fix opening the current test file from the integration test gui 2023-03-07 09:49:34 +01:00
f7e8b2dd71 cleanup integration test code 2023-02-26 12:54:13 +11:00
8b5d59c238 remove legacy integration tests 2023-02-26 11:34:18 +11:00
08c2b46d04 better visibility for tui 2023-02-12 10:47:45 +11:00
984eb95cb7 chore: remove UNKNOWN_VIEW_ERROR_MSG 2023-02-10 21:26:51 +09:00
e3c6738535 remove snapshot approach for new integration tests 2022-12-20 22:45:03 +11:00
39e84e13f4 Use lazycore utils: Clamp and GetLazyRootDirectory 2022-10-15 13:55:44 -03:00
6dca3e1766 allow two attempts on CI 2022-09-16 22:31:46 -07:00
79620fc6cf don't quit integration test tui upon error 2022-09-09 20:55:47 -07:00
b2ae651686 add slow flag to integration tests 2022-08-14 20:49:20 +10:00
e875d6b448 ensuring you can't accidentally forget to add a test to the tests list 2022-08-14 20:49:20 +10:00
5173d7f5e1 better CLI interface 2022-08-14 17:20:52 +10:00