Browse code

fix using wrong function name for MakeTarSumContext

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>

lixiaobing10051267 authored on 2016/11/08 18:16:13
Showing 1 changed files
... ...
@@ -192,7 +192,7 @@ func TestRemoveDirectory(t *testing.T) {
192 192
 	}
193 193
 }
194 194
 
195
-func TestMakeSumTarContext(t *testing.T) {
195
+func TestMakeTarSumContext(t *testing.T) {
196 196
 	contextDir, cleanup := createTestTempDir(t, "", "builder-tarsum-test")
197 197
 	defer cleanup()
198 198
 
... ...
@@ -209,7 +209,7 @@ func TestMakeSumTarContext(t *testing.T) {
209 209
 	tarSum, err := MakeTarSumContext(tarStream)
210 210
 
211 211
 	if err != nil {
212
-		t.Fatalf("Error when executing MakeSumContext: %s", err)
212
+		t.Fatalf("Error when executing MakeTarSumContext: %s", err)
213 213
 	}
214 214
 
215 215
 	if tarSum == nil {