diff options
author | inoas <mail@inoas.com> | 2022-08-10 21:29:36 +0200 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2022-08-11 09:56:08 +0100 |
commit | 85ba2f345d4fcd964dd0c3aa7565cd03c16d7169 (patch) | |
tree | 6b098c90517860b46679b2f07a2b3f3253b8d69c | |
parent | e7ddb5b5803d16a7511c4d3d471dd3305e88f311 (diff) | |
download | gleam_stdlib-85ba2f345d4fcd964dd0c3aa7565cd03c16d7169.tar.gz gleam_stdlib-85ba2f345d4fcd964dd0c3aa7565cd03c16d7169.zip |
names, cs
-rw-r--r-- | src/gleam_stdlib.erl | 1 | ||||
-rw-r--r-- | test/gleam/string_test.gleam | 2 | ||||
-rw-r--r-- | test/gleam_stdlib_test_ffi.erl | 4 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/gleam_stdlib.erl b/src/gleam_stdlib.erl index 5d83e9d..e71c1e5 100644 --- a/src/gleam_stdlib.erl +++ b/src/gleam_stdlib.erl @@ -377,7 +377,6 @@ inspect(Any) when is_function(Any) -> inspect(Any) -> ["//erl(", io_lib:format("~p", [Any]), ")"]. - inspect_list([]) -> {proper, []}; inspect_list([Head]) -> diff --git a/test/gleam/string_test.gleam b/test/gleam/string_test.gleam index 614ae3c..83698bf 100644 --- a/test/gleam/string_test.gleam +++ b/test/gleam/string_test.gleam @@ -801,7 +801,7 @@ if erlang { external fn improper_list_append( item_a, item_b, - improper_item, + improper_tail, ) -> List(anything) = "gleam_stdlib_test_ffi" "improper_list_append" } diff --git a/test/gleam_stdlib_test_ffi.erl b/test/gleam_stdlib_test_ffi.erl index bc9ba65..ee16980 100644 --- a/test/gleam_stdlib_test_ffi.erl +++ b/test/gleam_stdlib_test_ffi.erl @@ -39,5 +39,5 @@ should_be_error(A) -> ?assertMatch({error, _}, A), nil. -improper_list_append(ItemA, ItemB, ImproperItem) -> - [ItemA, ItemB | ImproperItem]. +improper_list_append(ItemA, ItemB, ImproperTail) -> + [ItemA, ItemB | ImproperTail]. |