diff --git a/samples/hellofs/hello_fs_test.go b/samples/hellofs/hello_fs_test.go index c336029..4fa042f 100644 --- a/samples/hellofs/hello_fs_test.go +++ b/samples/hellofs/hello_fs_test.go @@ -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) }