blob: 602f3fb8ce6bde6c03b8e2f9e00ebfa270271faf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
-module(expect).
-compile(no_auto_import).
-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).
not_equal(A, B) ->
gleam__stdlib:expect_not_equal(A, B).
true(A) ->
gleam__stdlib:expect_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).
|