THRIFT-2251 go test for compact protocol is not running
authorJens Geyer <jensg@apache.org>
Mon, 4 Nov 2013 21:17:48 +0000 (22:17 +0100)
committerJens Geyer <jensg@apache.org>
Mon, 4 Nov 2013 21:17:48 +0000 (22:17 +0100)
Patch: Aleksey Pesternikov

lib/go/thrift/compact_protocol_test.go

index c874379..72812f9 100644 (file)
 package thrift
 
 import (
+       "bytes"
        "testing"
 )
 
 func TestReadWriteCompactProtocol(t *testing.T) {
        ReadWriteProtocolTest(t, NewTCompactProtocolFactory())
-       /*
           transports := []TTransport{
             NewTMemoryBuffer(),
             NewStreamTransportRW(bytes.NewBuffer(make([]byte, 0, 16384))),
@@ -50,5 +50,4 @@ func TestReadWriteCompactProtocol(t *testing.T) {
             ReadWriteBinary(t, p, trans);
             trans.Close();
           }
-       */
 }