diff options
author | Louis Pilfold <louis@lpil.uk> | 2019-04-22 22:33:15 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2019-04-22 22:33:15 +0000 |
commit | 077aaf3468c640b84ff53fc92171292ddae55bf4 (patch) | |
tree | a152edcc2240f053681ca6ba315dfeb9ed8fa793 /test/list_test.gleam | |
parent | afdabad5cd2df77eb3f309aab9da3d34e36a0b49 (diff) | |
download | gleam_stdlib-077aaf3468c640b84ff53fc92171292ddae55bf4.tar.gz gleam_stdlib-077aaf3468c640b84ff53fc92171292ddae55bf4.zip |
Int and float modules
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"]) |