Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fca0b8c
)
THRIFT-2251 go test for compact protocol is not running
author
Jens Geyer
<jensg@apache.org>
Mon, 4 Nov 2013 21:17:48 +0000
(22:17 +0100)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/lib/go/thrift/compact_protocol_test.go
b/lib/go/thrift/compact_protocol_test.go
index
c874379
..
72812f9
100644
(file)
--- a/
lib/go/thrift/compact_protocol_test.go
+++ b/
lib/go/thrift/compact_protocol_test.go
@@
-20,12
+20,12
@@
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();
}
- */
}