[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit cf2fb397689c6e6ab3d71105822a0e5fac07b5b2
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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"},
 				},
 			},

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits