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

[tor-commits] [goptlib/master] fmt.



commit 10828aacde6c1ba15974e0d2861075066bd6ff91
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sun Aug 31 19:14:57 2014 -0700

    fmt.
---
 pt.go      |    2 +-
 pt_test.go |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pt.go b/pt.go
index 8630cae..1ba5f0c 100644
--- a/pt.go
+++ b/pt.go
@@ -352,7 +352,7 @@ func getClientTransports(star []string) ([]string, error) {
 // This structure is returned by ClientSetup. It consists of a list of method
 // names.
 type ClientInfo struct {
-	MethodNames   []string
+	MethodNames []string
 }
 
 // Check the client pluggable transports environment, emitting an error message
diff --git a/pt_test.go b/pt_test.go
index d6a53e1..f104cb0 100644
--- a/pt_test.go
+++ b/pt_test.go
@@ -755,7 +755,7 @@ func TestMakeStateDir(t *testing.T) {
 	}
 	defer os.RemoveAll(tempDir)
 
-	goodTests := [...]string {
+	goodTests := [...]string{
 		// Already existing directory.
 		tempDir,
 



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