commit 3c87b69d5af9943741a0fed8b9595fc20646c06d Author: David Fifield david@bamsoftware.com Date: Wed Nov 13 00:56:31 2013 -0800
Fix stringSetsEqual. --- pt_test.go | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/pt_test.go b/pt_test.go index e06b24f..86a38dc 100644 --- a/pt_test.go +++ b/pt_test.go @@ -90,6 +90,8 @@ func TestGetManagedTransportVer(t *testing.T) { func stringSetsEqual(a, b []string) bool { ac := make([]string, len(a)) bc := make([]string, len(b)) + copy(ac, a) + copy(bc, b) sort.Strings(ac) sort.Strings(bc) if len(ac) != len(bc) {
tor-commits@lists.torproject.org