Fixed hello_fs_test build errors.
parent
eca0a3760e
commit
7393225029
|
@ -41,9 +41,10 @@ type HelloFSTest struct {
|
||||||
func init() { RegisterTestSuite(&HelloFSTest{}) }
|
func init() { RegisterTestSuite(&HelloFSTest{}) }
|
||||||
|
|
||||||
func (t *HelloFSTest) SetUp(ti *TestInfo) {
|
func (t *HelloFSTest) SetUp(ti *TestInfo) {
|
||||||
t.FileSystem = &hellofs.HelloFS{
|
var err error
|
||||||
Clock: &t.Clock,
|
|
||||||
}
|
t.Server, err = hellofs.NewHelloFS(&t.Clock)
|
||||||
|
AssertEq(nil, err)
|
||||||
|
|
||||||
t.SampleTest.SetUp(ti)
|
t.SampleTest.SetUp(ti)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue