A module for testing your Gleam code. The functions found here are compatible with the Erlang eunit test framework.

More information on running eunit can be found in the rebar3 documentation.


pub external fn be_error(Result(a, b)) -> b
pub fn be_false(actual: Bool) -> Nil
pub external fn be_ok(Result(a, b)) -> a
pub fn be_true(actual: Bool) -> Nil
pub external fn equal(a, a) -> Nil
pub fn fail() -> Nil
pub external fn not_equal(a, a) -> Nil
Search Document