aboutsummaryrefslogtreecommitdiff
path: root/gen/expect.erl
diff options
context:
space:
mode:
Diffstat (limited to 'gen/expect.erl')
-rw-r--r--gen/expect.erl8
1 files changed, 7 insertions, 1 deletions
diff --git a/gen/expect.erl b/gen/expect.erl
index 4d42f10..602f3fb 100644
--- a/gen/expect.erl
+++ b/gen/expect.erl
@@ -1,7 +1,7 @@
-module(expect).
-compile(no_auto_import).
--export([equal/2, not_equal/2, true/1, false/1, fail/0]).
+-export([equal/2, not_equal/2, true/1, false/1, is_ok/1, is_error/1, fail/0]).
equal(A, B) ->
gleam__stdlib:expect_equal(A, B).
@@ -15,5 +15,11 @@ true(A) ->
false(A) ->
gleam__stdlib:expect_false(A).
+is_ok(A) ->
+ gleam__stdlib:expect_is_ok(A).
+
+is_error(A) ->
+ gleam__stdlib:expect_is_error(A).
+
fail() ->
true(false).