(t *testing.T)
| 25 | } |
| 26 | |
| 27 | func TestNewHTTPServer(t *testing.T) { |
| 28 | server, err := newHttpHandler() |
| 29 | time.Sleep(time.Millisecond * 100) |
| 30 | defer server.Clean() |
| 31 | assert.Nil(t, err) |
| 32 | } |
| 33 | |
| 34 | // 测试Put方法 |
| 35 | func TestPut(t *testing.T) { |
nothing calls this directly
no test coverage detected