From 71f144648af71d8daa6481464707b4f8a9476a3c Mon Sep 17 00:00:00 2001
From: lixiaobing10051267
Date: Tue, 8 Nov 2016 17:16:13 +0800
Subject: [PATCH] fix using wrong function name for MakeTarSumContext
Signed-off-by: lixiaobing10051267
---
builder/tarsum_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builder/tarsum_test.go b/builder/tarsum_test.go
index cc3f6f5154..278e5830de 100644
--- a/builder/tarsum_test.go
+++ b/builder/tarsum_test.go
@@ -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 {