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

dcf at torproject.org dcf at torproject.org
Mon Sep 1 02:25:59 UTC 2014


commit 10828aacde6c1ba15974e0d2861075066bd6ff91
Author: David Fifield <david at bamsoftware.com>
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,
 





More information about the tor-commits mailing list