1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

Cleanup: use assert.NoError

This commit is contained in:
Stefan Haller
2025-05-04 12:44:39 +02:00
parent 5686e63af3
commit bf13e0bc6a

View File

@ -80,9 +80,7 @@ git:
for _, s := range scenarios {
t.Run(s.name, func(t *testing.T) {
actual, err := computeMigratedConfig("path doesn't matter", []byte(s.input))
if err != nil {
t.Error(err)
}
assert.NoError(t, err)
assert.Equal(t, s.expected, string(actual))
})
}