From ef4731e081fbcc937b2d52805943528d898ab39f Mon Sep 17 00:00:00 2001 From: Richard Viney Date: Sat, 11 May 2024 10:35:36 +1200 Subject: Escape form feed control character in string.inspect on Erlang --- test/gleam/string_test.gleam | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/gleam/string_test.gleam b/test/gleam/string_test.gleam index 684bc1b..4103f67 100644 --- a/test/gleam/string_test.gleam +++ b/test/gleam/string_test.gleam @@ -685,6 +685,9 @@ pub fn inspect_test() { string.inspect("\t") |> should.equal("\"\\t\"") + string.inspect("\f") + |> should.equal("\"\\f\"") + string.inspect("\r\r") |> should.equal("\"\\r\\r\"") -- cgit v1.2.3