[tor-commits] [meek/bug13171] fmt.

dcf at torproject.org dcf at torproject.org
Fri Dec 18 01:52:26 UTC 2015


commit cf2fb397689c6e6ab3d71105822a0e5fac07b5b2
Author: David Fifield <david at bamsoftware.com>
Date:   Thu Dec 17 17:10:12 2015 -0800

    fmt.
---
 meek-server/useraddr_test.go |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meek-server/useraddr_test.go b/meek-server/useraddr_test.go
index 572d31f..3f975fa 100644
--- a/meek-server/useraddr_test.go
+++ b/meek-server/useraddr_test.go
@@ -89,8 +89,7 @@ func TestOriginalClientPrecedence(t *testing.T) {
 		Expected net.IP
 	}{
 		{
-			http.Request{
-			},
+			http.Request{},
 			nil,
 		},
 		{
@@ -140,7 +139,7 @@ func TestOriginalClientPrecedence(t *testing.T) {
 			http.Request{
 				RemoteAddr: "5.6.7.8:5678",
 				Header: http.Header{
-					http.CanonicalHeaderKey("Meek-IP"): []string{"1.2.3.4"},
+					http.CanonicalHeaderKey("Meek-IP"):         []string{"1.2.3.4"},
 					http.CanonicalHeaderKey("X-Forwarded-For"): []string{"2.2.2.2"},
 				},
 			},



More information about the tor-commits mailing list