From 739322502908985949bb51c9a391f1da9a27ff18 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Tue, 24 Mar 2015 15:47:26 +1100 Subject: [PATCH] Fixed hello_fs_test build errors. --- samples/hellofs/hello_fs_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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) }