aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBrett Snyder <bsnyder@digitalocean.com>2019-05-10 12:18:27 -0500
committerLouis Pilfold <louis@lpil.uk>2019-05-10 18:18:27 +0100
commiteb243dd13cbcdf5f6d37b7e2084414df95d7e0d9 (patch)
treea85a06f137c476e429b9547e0a085e5997d4de5b /test
parent83525b26f33d906284c1d5637aafe578d32704ba (diff)
downloadgleam_stdlib-eb243dd13cbcdf5f6d37b7e2084414df95d7e0d9.tar.gz
gleam_stdlib-eb243dd13cbcdf5f6d37b7e2084414df95d7e0d9.zip
list:strict_zip fix test (#168)
Diffstat (limited to 'test')
-rw-r--r--test/list_test.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/list_test.gleam b/test/list_test.gleam
index 779ba7b..ef80223 100644
--- a/test/list_test.gleam
+++ b/test/list_test.gleam
@@ -211,8 +211,8 @@ pub fn strict_zip_test() {
list:strict_zip([1, 2], [])
|> expect:is_error
- list:zip([1, 2, 3], [4, 5, 6])
- |> expect:equal(_, [{1, 4}, {2, 5}, {3, 6}])
+ list:strict_zip([1, 2, 3], [4, 5, 6])
+ |> expect:equal(_, Ok([{1, 4}, {2, 5}, {3, 6}]))
list:strict_zip([5, 6], [1, 2, 3])
|> expect:is_error