[tor-commits] [goptlib/master] fmt
dcf at torproject.org
dcf at torproject.org
Mon Dec 9 02:49:50 UTC 2013
commit 6705184f0988bf54eeb0118b2022587b7a9c7015
Author: David Fifield <david at bamsoftware.com>
Date: Wed Dec 4 23:21:56 2013 -0800
fmt
---
pt_test.go | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pt_test.go b/pt_test.go
index 6dc8845..6da0322 100644
--- a/pt_test.go
+++ b/pt_test.go
@@ -475,7 +475,7 @@ func TestExtOrSendUserAddr(t *testing.T) {
func TestExtOrPortSendTransport(t *testing.T) {
tests := [...]struct {
methodName string
- expected []byte
+ expected []byte
}{
{"", []byte("\x00\x02\x00\x00")},
{"a", []byte("\x00\x02\x00\x01a")},
@@ -529,9 +529,9 @@ func TestExtOrPortRecvCommand(t *testing.T) {
[]byte("\x12\x34\x00\x01"),
}
goodTests := [...]struct {
- input []byte
- cmd uint16
- body []byte
+ input []byte
+ cmd uint16
+ body []byte
leftover []byte
}{
{
More information about the tor-commits
mailing list