From 3d990a04946373d6dc788229279fdde214e8a575 Mon Sep 17 00:00:00 2001 From: Albert Z Wang Date: Tue, 12 Dec 2017 20:08:50 -0500 Subject: [PATCH] remove debug output --- basepath_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/basepath_test.go b/basepath_test.go index 9001322..219527d 100644 --- a/basepath_test.go +++ b/basepath_test.go @@ -5,7 +5,6 @@ import ( "path/filepath" "runtime" "testing" - "fmt" ) func TestBasePath(t *testing.T) { @@ -142,7 +141,6 @@ func TestNestedBasePaths(t *testing.T) { } } - func TestBasePathOpenFile(t *testing.T) { baseFs := &MemMapFs{} baseFs.MkdirAll("/base/path/tmp", 0777) @@ -178,7 +176,6 @@ func TestBasePathTempFile(t *testing.T) { if err != nil { t.Fatalf("Failed to TempDir: %v", err) } - fmt.Println(tDir) if filepath.Dir(tDir) != filepath.Clean("/tmp") { t.Fatalf("Tempdir realpath leaked: %s", tDir) } @@ -190,4 +187,4 @@ func TestBasePathTempFile(t *testing.T) { if expected, actual := tDir, filepath.Dir(tempFile.Name()); expected != actual { t.Fatalf("TempFile realpath leaked: expected %s, got %s", expected, actual) } -} \ No newline at end of file +}