src/pt/pt_test.go
0 → 100644
+40
−0
Loading
The exact escaping of of escape is unspecified; it says only that it will encode so as to remove certain byte values. The idea is that you shouldn't be able to inject a line by sending '\n', or truncate one with '\0'. So the tests don't look for specific output values, only that they don't contain any forbidden bytes.