diff options
author | Julian Schurhammer <julian.schurhammer@gmail.com> | 2023-12-08 10:06:47 +1300 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2023-12-09 09:57:32 +0000 |
commit | d07f9640a0157f5f661eb2908147605ea339fbff (patch) | |
tree | 8681c77c86c9b5ba3b3994b6ef61c7c54bf13064 /test | |
parent | eaa795fe6597f8bd9b8b95045f293ff5e81dd96d (diff) | |
download | gleam_stdlib-d07f9640a0157f5f661eb2908147605ea339fbff.tar.gz gleam_stdlib-d07f9640a0157f5f661eb2908147605ea339fbff.zip |
iterator.index: change to #(a, Int)
Diffstat (limited to 'test')
-rw-r--r-- | test/gleam/iterator_test.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gleam/iterator_test.gleam b/test/gleam/iterator_test.gleam index a83decc..3066c16 100644 --- a/test/gleam/iterator_test.gleam +++ b/test/gleam/iterator_test.gleam @@ -362,7 +362,7 @@ pub fn index_test() { iterator.from_list(["a", "b", "c"]) |> iterator.index |> iterator.to_list - |> should.equal([#(0, "a"), #(1, "b"), #(2, "c")]) + |> should.equal([#("a", 0), #("b", 1), #("c", 2)]) } pub fn iterate_test() { |