mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
ensuring you can't accidentally forget to add a test to the tests list
This commit is contained in:
@ -52,7 +52,8 @@ func getIntegrationTest() integrationTypes.IntegrationTest {
|
||||
))
|
||||
}
|
||||
|
||||
for _, candidateTest := range tests.Tests {
|
||||
allTests := tests.GetTests()
|
||||
for _, candidateTest := range allTests {
|
||||
if candidateTest.Name() == integrationTestName {
|
||||
return candidateTest
|
||||
}
|
||||
|
Reference in New Issue
Block a user