File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -224,8 +224,8 @@ func TestGenerateHashOnCrd(t *testing.T) {
224
224
crd := data [0 ]
225
225
226
226
hash , err := generateHashOnCrd (crd )
227
- if err != nil || hash != "fba38c4479874778a2e0bf38c2e94f83d57d9f24c9c7d71e123bc5c1961ed936 " {
228
- t .Error ("Failed to generate correctly" )
227
+ if err != nil || hash != "7bfd65e963e76680dc5160b6a55c04c3d9780c84aee1413ae710e4b5279cfe14 " {
228
+ t .Errorf ("Failed to generate correctly, got %s" , hash )
229
229
}
230
230
}
231
231
@@ -300,7 +300,7 @@ func TestDifferenceInTwoDifferentFiles(t *testing.T) {
300
300
func TestGenerateHashOnChart (t * testing.T ) {
301
301
hash , _ := generalHashFunction ("demo/charts/app-of-apps" )
302
302
h := hex .EncodeToString (hash )
303
- actualHash := "95630c1ec9b835536a3056d4dcbbd6e023111c5e4340ac80b945c2e3a4f8fc42 "
303
+ actualHash := "13aa148adefa3d633e5ce95584d3c95297a4417977837040cd67f0afbca17b5a "
304
304
if h != actualHash {
305
305
t .Errorf ("Failed to generate a generic hash on a chart. got: %s wanted: %s" , h , actualHash )
306
306
}
You can’t perform that action at this time.
0 commit comments