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

dcf at torproject.org dcf at torproject.org
Sun Oct 27 00:21:08 UTC 2013


commit c5532ce7dd04a800063e1723e60fe123f6d5b985
Author: David Fifield <david at bamsoftware.com>
Date:   Sat Oct 26 17:21:01 2013 -0700

    fmt.
---
 src/pt/pt_test.go |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pt/pt_test.go b/src/pt/pt_test.go
index baece70..3cf5ed5 100644
--- a/src/pt/pt_test.go
+++ b/src/pt/pt_test.go
@@ -12,7 +12,7 @@ func stringIsSafe(s string) bool {
 }
 
 func TestEscape(t *testing.T) {
-	tests := [...]string {
+	tests := [...]string{
 		"",
 		"abc",
 		"a\nb",
@@ -22,7 +22,7 @@ func TestEscape(t *testing.T) {
 		"ab\n\\",
 	}
 
-	check := func (input string) {
+	check := func(input string) {
 		output := escape(input)
 		if !stringIsSafe(output) {
 			t.Errorf("escape(%q) → %q", input, output)



More information about the tor-commits mailing list