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 70d7d33 commit bf8aa66Copy full SHA for bf8aa66
pkg/library/resources/helper_test.go
@@ -393,12 +393,7 @@ func TestApplyCaps(t *testing.T) {
393
for _, tt := range tests {
394
t.Run(tt.name, func(t *testing.T) {
395
actual := ApplyCaps(tt.base, tt.caps)
396
- if !assert.Equal(t, tt.expected, actual) {
397
- // Print more useful diff since quantity is not a simple struct
398
- expectedYaml, _ := yaml.Marshal(tt.expected)
399
- actualYaml, _ := yaml.Marshal(actual)
400
- t.Logf("\nExpected:\n%s\nActual:\n%s", expectedYaml, actualYaml)
401
- }
+ assert.Equal(t, tt.expected, actual)
402
})
403
}
404
0 commit comments