nimpretty: fixes #10295

This commit is contained in:
Araq 2019-06-07 10:37:00 +02:00
commit 447cc1ff09
4 changed files with 30 additions and 5 deletions

View file

@ -366,3 +366,12 @@ proc fun4() =
var i = 0
while i<a.len and i<a.len:
return
# bug #10295
import osproc
let res = execProcess(
"echo | openssl s_client -connect example.com:443 2>/dev/null | openssl x509 -noout -dates")
let res = execProcess("echo | openssl s_client -connect example.com:443 2>/dev/null | openssl x509 -noout -dates")