From aa6a32fdb1d8f43db1c9957c9966f4c46b898229 Mon Sep 17 00:00:00 2001 From: inoas Date: Wed, 10 Aug 2022 20:24:11 +0200 Subject: single pass proper/improper list inspection --- test/gleam/string_test.gleam | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test') diff --git a/test/gleam/string_test.gleam b/test/gleam/string_test.gleam index b025f5c..d817a35 100644 --- a/test/gleam/string_test.gleam +++ b/test/gleam/string_test.gleam @@ -791,12 +791,10 @@ if erlang { |> string.inspect() |> should.equal("\"abc\"") } -} -if erlang { pub fn improper_list_inspect_test() { let list = improper_list_append(1, 2, 3) - assert "//erl[1,2|3] %% improper list" = string.inspect(list) + assert "//erl[1, 2 | 3] %% improper list" = string.inspect(list) } // Warning: The type of this function is incorrect -- cgit v1.2.3