blob: 3cb7dd8ae0092c66d9a9d58d2b2aa02c5bb6efd1 (
plain) (
tree)
|
|
package filesystem
import (
"testing"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git.v4/storage/filesystem/internal/dotgit"
"gopkg.in/src-d/go-git.v4/utils/fs"
)
func Test(t *testing.T) { TestingT(t) }
type StorageSuite struct{}
var _ = Suite(&StorageSuite{})
func (s *StorageSuite) TestNewErrorNotFound(c *C) {
fs := fs.NewOS()
_, err := NewStorage(fs, "not_found/.git")
c.Assert(err, Equals, dotgit.ErrNotFound)
}
|