aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGiacomo Cavalieri <giacomo.cavalieri@icloud.com>2023-04-18 21:40:33 +0200
committerLouis Pilfold <louis@lpil.uk>2023-04-21 12:01:36 +0100
commit5522dc325f8e589569f43e64bbc4acbc98152ba1 (patch)
tree061c83985a678832d4a8d9ce73d66cd47d5fb2d3 /test
parent0224b0839a83cb8fbfcd340a93da4b4c9c06c233 (diff)
downloadgleam_stdlib-5522dc325f8e589569f43e64bbc4acbc98152ba1.tar.gz
gleam_stdlib-5522dc325f8e589569f43e64bbc4acbc98152ba1.zip
Use `should.equal` instead of `let assert`
Diffstat (limited to 'test')
-rw-r--r--test/gleam/list_test.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gleam/list_test.gleam b/test/gleam/list_test.gleam
index a0db992..07b2bae 100644
--- a/test/gleam/list_test.gleam
+++ b/test/gleam/list_test.gleam
@@ -867,7 +867,7 @@ pub fn try_each_test() {
list.try_each(
over: [1, 1, 1],
with: fn(x) {
- let assert 1 = x
+ should.equal(x, 1)
Ok(Nil)
},
)
@@ -876,7 +876,7 @@ pub fn try_each_test() {
list.try_each(
over: [1, 2, 3],
with: fn(x) {
- let assert 1 = x
+ should.equal(x, 1)
Error(Nil)
},
)