Leonardo de Moura 2021-10-11 06:13:46 -07:00
parent 002fb7f446
commit 48a40c4d0a
3 changed files with 7 additions and 1 deletions

View file

@ -475,7 +475,8 @@ def quoteString (s : String) : String :=
let q := s.foldl
(fun q c => q ++
if c == '\n' then "\\n"
else if c == '\n' then "\\t"
else if c == '\r' then "\\r"
else if c == '\t' then "\\t"
else if c == '\\' then "\\\\"
else if c == '\"' then "\\\""
else if c.toNat <= 31 then

View file

@ -0,0 +1,3 @@
def main : IO Unit := do
IO.eprintln $ "\rfailed at counter-example"
IO.eprintln $ "\tfailed at counter-example"

View file

@ -0,0 +1,2 @@
failed at counter-example
failed at counter-example