1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-29 22:48:24 +02:00

allow adding whole diff to patch

this was causing a panic

add integration test for toggling all commit files
This commit is contained in:
Jesse Duffield
2022-03-23 23:15:54 +11:00
parent 5ded030a88
commit cc5d13c833
34 changed files with 103 additions and 28 deletions

View File

@@ -94,8 +94,7 @@ func RunTests(
continue
}
fnWrapper(test, func(t *testing.T) error {
t.Helper()
fnWrapper(test, func(t *testing.T) error { //nolint: thelper
speeds := getTestSpeeds(test.Speed, mode, speedEnv)
testPath := filepath.Join(testDir, test.Name)
actualRepoDir := filepath.Join(testPath, "actual")