aboutsummaryrefslogtreecommitdiff
path: root/src/gleam__stdlib.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gleam__stdlib.erl')
-rw-r--r--src/gleam__stdlib.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gleam__stdlib.erl b/src/gleam__stdlib.erl
index 4af95eb..25abb25 100644
--- a/src/gleam__stdlib.erl
+++ b/src/gleam__stdlib.erl
@@ -4,7 +4,6 @@
-export([expect_equal/2, expect_not_equal/2, expect_true/1, expect_false/1, map_fetch/2,
iodata_append/2, iodata_prepend/2, identity/1]).
-
expect_equal(A, Expected) -> ?assertEqual(Expected, A).
expect_not_equal(A, Expected) -> ?assertNotEqual(Expected, A).
expect_true(A) -> ?assert(A).
@@ -12,7 +11,7 @@ expect_false(A) -> ?assertNot(A).
map_fetch(Map, Key) ->
case maps:find(Key, Map) of
- error -> {error, {}};
+ error -> {error, not_found};
OkFound -> OkFound
end.