1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-18 05:17:55 +02:00

prevent closure issue

This commit is contained in:
Jesse Duffield 2021-06-05 13:17:44 +10:00
parent 90983aae65
commit 6d91661d5e

View File

@ -95,6 +95,7 @@ baz
} }
for _, s := range scenarios { for _, s := range scenarios {
s := s
t.Run(s.name, func(t *testing.T) { t.Run(s.name, func(t *testing.T) {
assert.EqualValues(t, s.expected, findConflicts(s.content)) assert.EqualValues(t, s.expected, findConflicts(s.content))
}) })