mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-10-08 22:52:12 +02:00
Rename test/results to test/_results
This prevents commands like "go test ./..." from looking into it, and it prevents VS Code's Problems panel from showing errors about the go files in that folder.
This commit is contained in:
@@ -3,9 +3,9 @@ package components
|
||||
import "path/filepath"
|
||||
|
||||
// convenience struct for easily getting directories within our test directory.
|
||||
// We have one test directory for each test, found in test/results.
|
||||
// We have one test directory for each test, found in test/_results.
|
||||
type Paths struct {
|
||||
// e.g. test/results/test_name
|
||||
// e.g. test/_results/test_name
|
||||
root string
|
||||
}
|
||||
|
||||
|
@@ -39,7 +39,7 @@ func RunTests(
|
||||
return err
|
||||
}
|
||||
|
||||
testDir := filepath.Join(projectRootDir, "test", "results")
|
||||
testDir := filepath.Join(projectRootDir, "test", "_results")
|
||||
|
||||
if err := buildLazygit(); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user