Fixed hello_fs_test build errors.

geesefs-0-30-9
Aaron Jacobs 2015-03-24 15:47:26 +11:00
parent eca0a3760e
commit 7393225029
1 changed files with 4 additions and 3 deletions

View File

@ -41,9 +41,10 @@ type HelloFSTest struct {
func init() { RegisterTestSuite(&HelloFSTest{}) }
func (t *HelloFSTest) SetUp(ti *TestInfo) {
t.FileSystem = &hellofs.HelloFS{
Clock: &t.Clock,
}
var err error
t.Server, err = hellofs.NewHelloFS(&t.Clock)
AssertEq(nil, err)
t.SampleTest.SetUp(ti)
}