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

[tor-commits] [goptlib/master] Add a test for TestKeywordIsSafe with unsafe in first position.



commit 8838202811d5f532c99efcd4312a18bafad1c84f
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Mon Jun 26 16:47:16 2017 -0700

    Add a test for TestKeywordIsSafe with unsafe in first position.
---
 pt_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pt_test.go b/pt_test.go
index 069647c..f9f4790 100644
--- a/pt_test.go
+++ b/pt_test.go
@@ -53,6 +53,7 @@ func TestKeywordIsSafe(t *testing.T) {
 		{"CMETHOD\x80", false},
 		{"CMETHOD\x81", false},
 		{"CMETHOD\xff", false},
+		{"\xffCMETHOD", false},
 		{"CMÃ?THOD", false},
 	}
 



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