inline val <T> Expect<T>.it: Expect<T>
Inline property referring actually to this
and allows to write infix assertions within an assertion group block
For instance, instead of:
expect("hello world") {
this startsWith "hello"
this ends with "world"
}
You can write
expect("hello world") {
it startsWith "hello"
it ends with "world"
}
Return
this
Since
0.12.0