We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8689f3a commit 0d38051Copy full SHA for 0d38051
pkg/config/app_config_test.go
@@ -779,10 +779,9 @@ func TestAllBranchesLogCmdMigrations(t *testing.T) {
779
for _, s := range scenarios {
780
t.Run(s.name, func(t *testing.T) {
781
actual, err := computeMigratedConfig("path doesn't matter", []byte(s.input))
782
- if err != nil {
783
- t.Error(err)
+ if assert.NoError(t, err) {
+ assert.Equal(t, s.expected, string(actual))
784
}
785
- assert.Equal(t, s.expected, string(actual))
786
})
787
788
0 commit comments