doc / ch.tutteli.atrium.api.cc.infix.en_GB / o

o

inline val <T : Any> Assert<T>.o: Assert<T>
Deprecated: Switch from Assert to Expect and use `it` instead; will be removed with 1.0.0

Inline property referring actually to this and allows to write nicer sub-assertions.

For instance, instead of:

assert("hello world"){
  this startsWith "hello"
  this ends with "world"
}

You can write

assert("hello world"){
  o startsWith "hello"
  o ends with "world"
}