aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinoas <mail@inoas.com>2022-08-10 15:28:27 +0200
committerLouis Pilfold <louis@lpil.uk>2022-08-11 09:56:08 +0100
commit4959c80c687689dfb5383ddc7c2d1e707cd4dd7e (patch)
treec4a3255e7785f72e2499f7a82c5cdb38726eb41c
parent347b9fa88ea726f90b85149aec0776ba4588da4f (diff)
downloadgleam_stdlib-4959c80c687689dfb5383ddc7c2d1e707cd4dd7e.tar.gz
gleam_stdlib-4959c80c687689dfb5383ddc7c2d1e707cd4dd7e.zip
naming
-rw-r--r--test/gleam/string_test.gleam6
-rw-r--r--test/gleam_stdlib_test_ffi.erl4
2 files changed, 5 insertions, 5 deletions
diff --git a/test/gleam/string_test.gleam b/test/gleam/string_test.gleam
index 7c83c84..b025f5c 100644
--- a/test/gleam/string_test.gleam
+++ b/test/gleam/string_test.gleam
@@ -801,9 +801,9 @@ if erlang {
// Warning: The type of this function is incorrect
external fn improper_list_append(
- anything1,
- anything2,
- anything3,
+ item_a,
+ item_b,
+ improper_item,
) -> 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 c34cb5e..bc9ba65 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(X, Y, Z) ->
- [X, Y | Z].
+improper_list_append(ItemA, ItemB, ImproperItem) ->
+ [ItemA, ItemB | ImproperItem].