diff options
Diffstat (limited to 'http_server_play_test.go')
| -rw-r--r-- | http_server_play_test.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/http_server_play_test.go b/http_server_play_test.go index 68dd180..9018fce 100644 --- a/http_server_play_test.go +++ b/http_server_play_test.go @@ -13,7 +13,6 @@ import ( "net/http/httptest" "os" "path/filepath" - "strings" "testing" libhttp "git.sr.ht/~shulhan/pakakeh.go/lib/http" @@ -64,9 +63,10 @@ func TestHttpServerPlaySshConfigChanges(t *testing.T) { t.Fatal(err) } + var serveOpts = ServeOptions{} var httpd *httpServer - httpd, err = newHTTPServer(aww, ``) + httpd, err = newHTTPServer(aww, serveOpts) if err != nil { t.Fatal(err) } @@ -125,7 +125,4 @@ func testHttpExecute(t *testing.T, httpd *httpServer, tdata *test.Data, tag stri if err != nil { t.Fatal(err) } - - expResp = tdata.Output[tag+`:output`] - test.Assert(t, tag+`:output`, string(expResp), strings.Join(execRes.Output, "\n")) } |
