Skip to content

Commit

Permalink
fix testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
fenrus75 committed Sep 2, 2022
1 parent d8f5c27 commit 10a5a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swupd/packs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ func TestPackRenames(t *testing.T) {
// Pack from 20->30 will contain a delta due to content change (and rename).
info = ts.createPack("os-core", 20, 30, ts.path("image"))
mustHaveDeltaCount(t, info, 1)
checkFileInPack(t, ts.path("www/30/pack-os-core-from-20.tar"), fmt.Sprintf("delta/20-30-%s-%s", hashIn20, hashIn30))
checkFileInPack(t, ts.path("www/30/pack-os-core-from-20.tar"), fmt.Sprintf("delta/10-20-%s-%s", hashIn20, hashIn30))

// Pack from 10->30 will contain a delta due to content change (and rename).
info = ts.createPack("os-core", 10, 30, ts.path("image"))
Expand Down

0 comments on commit 10a5a75

Please sign in to comment.