浏览代码

tests: remove unused testRequestBody{} and its functions

Lars Lehtonen 5 年之前
父节点
当前提交
bf8cdb7bd1
共有 1 个文件被更改,包括 0 次插入15 次删除
  1. 0 15
      request_test.go

+ 0 - 15
request_test.go

@@ -8,21 +8,6 @@ import (
 	"github.com/davecgh/go-spew/spew"
 )
 
-type testRequestBody struct {
-}
-
-func (s *testRequestBody) key() int16 {
-	return 0x666
-}
-
-func (s *testRequestBody) version() int16 {
-	return 0xD2
-}
-
-func (s *testRequestBody) encode(pe packetEncoder) error {
-	return pe.putString("abc")
-}
-
 // not specific to request tests, just helper functions for testing structures that
 // implement the encoder or decoder interfaces that needed somewhere to live