mirror of
https://github.com/minio/minio.git
synced 2025-03-02 23:09:13 -05:00
Rename test-data to testdata, go will ignore it automatically
This commit is contained in:
parent
c081b7c011
commit
a18bfa2fda
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user