mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix using wrong function name for MakeTarSumContext
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
parent
c48c44371b
commit
71f144648a
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")
|
||||
defer cleanup()
|
||||
|
||||
|
@ -209,7 +209,7 @@ func TestMakeSumTarContext(t *testing.T) {
|
|||
tarSum, err := MakeTarSumContext(tarStream)
|
||||
|
||||
if err != nil {
|
||||
t.Fatalf("Error when executing MakeSumContext: %s", err)
|
||||
t.Fatalf("Error when executing MakeTarSumContext: %s", err)
|
||||
}
|
||||
|
||||
if tarSum == nil {
|
||||
|
|
Loading…
Reference in a new issue