mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Delete test for unsupported functionality
This commit is contained in:
@@ -2,7 +2,6 @@ package app_test
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/gob"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
@@ -84,11 +83,6 @@ func TestReportPostHandler(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
test("", func(v interface{}) ([]byte, error) {
|
||||
buf := &bytes.Buffer{}
|
||||
err := gob.NewEncoder(buf).Encode(v)
|
||||
return buf.Bytes(), err
|
||||
})
|
||||
test("application/json", func(v interface{}) ([]byte, error) {
|
||||
buf := &bytes.Buffer{}
|
||||
err := codec.NewEncoder(buf, &codec.JsonHandle{}).Encode(v)
|
||||
|
||||
Reference in New Issue
Block a user