aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/gleam/string_test.gleam2
-rw-r--r--test/gleam_stdlib_test_ffi.erl4
2 files changed, 3 insertions, 3 deletions
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].