[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [websocket/master] fmt.
commit c5532ce7dd04a800063e1723e60fe123f6d5b985
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits