diff options
Diffstat (limited to 'lilin_test.go')
| -rw-r--r-- | lilin_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lilin_test.go b/lilin_test.go index 3e1899d..e4db531 100644 --- a/lilin_test.go +++ b/lilin_test.go @@ -47,7 +47,7 @@ func TestMain(m *testing.M) { } func startServer() (server *lilin.Server) { - var serverOpts = lilin.ServerOptions{ + var serverOpts = lilin.ServerConfig{ BaseDir: `testdata`, } var err error @@ -64,7 +64,7 @@ func startServer() (server *lilin.Server) { } }() - err = net.WaitAlive(`tcp`, server.Options.Address, 5*time.Second) + err = net.WaitAlive(`tcp`, server.Config.Address, 5*time.Second) if err != nil { log.Fatal(err) } @@ -72,8 +72,8 @@ func startServer() (server *lilin.Server) { } func createClient(server *lilin.Server) (client *lilin.Client) { - var clientOpts = lilin.ClientOptions{ - ServerURL: `http://` + server.Options.Address, + var clientOpts = lilin.ClientConfig{ + ServerURL: `http://` + server.Config.Address, } var err error |
