aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRJ Dellecese <rjdellecese@gmail.com>2019-12-18 22:19:13 -0500
committerLouis Pilfold <louis@lpil.uk>2019-12-19 10:35:55 +0000
commit4754b04599695064f33ac685ae0f015cf3b36e24 (patch)
tree4a6a52245a3d11e572ae0df9f98f07cbbf963a86 /test
parentdd7dd9b1df1c77a62c49ca6e2620f6757b5b0734 (diff)
downloadgleam_stdlib-4754b04599695064f33ac685ae0f015cf3b36e24.tar.gz
gleam_stdlib-4754b04599695064f33ac685ae0f015cf3b36e24.zip
Correct type signature
Diffstat (limited to 'test')
-rw-r--r--test/gleam/dynamic_test.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gleam/dynamic_test.gleam b/test/gleam/dynamic_test.gleam
index 96db8c1..46b5418 100644
--- a/test/gleam/dynamic_test.gleam
+++ b/test/gleam/dynamic_test.gleam
@@ -256,5 +256,5 @@ pub fn element_test() {
|> map.insert(_, 1, ok_atom)
|> dynamic.from
|> dynamic.element(_, 0)
- |> expect.is_error
+ |> expect.equal(_, Error(Nil))
}