diff options
Diffstat (limited to 'test/list_test.gleam')
-rw-r--r-- | test/list_test.gleam | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/list_test.gleam b/test/list_test.gleam index 493dfb7..ba5c4c5 100644 --- a/test/list_test.gleam +++ b/test/list_test.gleam @@ -1,5 +1,6 @@ import expect import list +import int import str pub fn length_test() { @@ -255,7 +256,7 @@ pub fn index_map_test() { |> expect:equal(_, [{0, 3}, {1, 4}, {2, 5}]) let f = fn(i, x) { - str:append(x, str:from_int(i)) + str:append(x, int:to_string(i)) } list:index_map(["a", "b", "c"], f) |> expect:equal(_, ["a0", "b1", "c2"]) |