Current section

Files

Jump to
gleam_stdlib gen src gleam@expect.erl
Raw

gen/src/gleam@expect.erl

-module(gleam@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).