Expect.opEquals

compares a value or an unexpected value. To compare with an unepexted value you must used either Unexpected!E as the rhs or it's type contructor.

If you do not care about the value of the unexpected then you can compare against anyUnexpected

  1. bool opEquals(Expected rhs)
  2. bool opEquals(Unexpected rhs)
  3. bool opEquals(AnyUnexpected)
    struct Expect(T, E = Variant)
    bool
    opEquals
    const
    (
    AnyUnexpected
    )
    if (
    !is(E == void)
    )

Meta