Removed missing tests

This commit is contained in:
euforia 2016-04-27 09:21:27 -07:00
parent 7de010c67d
commit f747c3f35c
1 changed files with 0 additions and 26 deletions

View File

@ -1,26 +0,0 @@
package websocket
import (
"bytes"
"compress/flate"
"testing"
)
func Test_NewAdaptorWriter(t *testing.T) {
backendBuff := new(bytes.Buffer)
aw := NewAdaptorWriter(backendBuff)
fw, err := flate.NewWriter(aw, -1)
if err != nil {
t.Fatal(err)
}
var n int
n, err = fw.Write([]byte("test"))
t.Log(n, err)
if err = fw.Flush(); err != nil {
t.Fatal(err)
}
}