mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #28158 from lixiaobing10051267/masterMakeSum
fix using wrong function name for MakeTarSumContext
This commit is contained in:
commit
189727581b
1 changed files with 2 additions and 2 deletions
|
@ -192,7 +192,7 @@ func TestRemoveDirectory(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestMakeSumTarContext(t *testing.T) {
|
func TestMakeTarSumContext(t *testing.T) {
|
||||||
contextDir, cleanup := createTestTempDir(t, "", "builder-tarsum-test")
|
contextDir, cleanup := createTestTempDir(t, "", "builder-tarsum-test")
|
||||||
defer cleanup()
|
defer cleanup()
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@ func TestMakeSumTarContext(t *testing.T) {
|
||||||
tarSum, err := MakeTarSumContext(tarStream)
|
tarSum, err := MakeTarSumContext(tarStream)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Error when executing MakeSumContext: %s", err)
|
t.Fatalf("Error when executing MakeTarSumContext: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if tarSum == nil {
|
if tarSum == nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue