From a18bfa2fda9f45a1237b0b44981cb2bf9b75d659 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sat, 7 Mar 2015 01:32:35 -0800 Subject: [PATCH] Rename test-data to testdata, go will ignore it automatically --- pkg/utils/split/split_test.go | 4 ++-- pkg/utils/split/{test-data => testdata}/TESTFILE | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename pkg/utils/split/{test-data => testdata}/TESTFILE (100%) diff --git a/pkg/utils/split/split_test.go b/pkg/utils/split/split_test.go index 6861369e6..7d751b0c0 100644 --- a/pkg/utils/split/split_test.go +++ b/pkg/utils/split/split_test.go @@ -53,9 +53,9 @@ func (s *MySuite) TestSplitStream(c *C) { } func (s *MySuite) TestFileSplitJoin(c *C) { - err := split.FileWithPrefix("test-data/TESTFILE", 1024, "TESTPREFIX") + err := split.FileWithPrefix("testdata/TESTFILE", 1024, "TESTPREFIX") c.Assert(err, IsNil) - err = split.FileWithPrefix("test-data/TESTFILE", 1024, "") + err = split.FileWithPrefix("testdata/TESTFILE", 1024, "") c.Assert(err, Not(IsNil)) devnull, err := os.OpenFile(os.DevNull, 2, os.ModeAppend) diff --git a/pkg/utils/split/test-data/TESTFILE b/pkg/utils/split/testdata/TESTFILE similarity index 100% rename from pkg/utils/split/test-data/TESTFILE rename to pkg/utils/split/testdata/TESTFILE