Testing module

is

procedureextensionsince 0.30.0Source

Equal by value, as expect_equal compares; strings, arrays and structs fail with its diff.

Example↗
assert_that("abc", is("abc"));
is :: (want: $T) -> Matcher

Equal by value, as expect_equal compares; strings, arrays and structs fail with its diff.

Parameters

want: $T
the value to compare with.

Returns

Example↗
assert_that("abc", is("abc"));

See also