object o : Keyword
(source)
Represents a filler, a pseudo keyword where there isn't really a good keyword.
A reader should skip this filler without reading it. For instance, contains o atLeast 1...
should be read as
contains at least once...
It can be used for a parameterless function so that it has one parameter and thus can be used as infix function.
// `and` is just a filler word does not have any behaviour
expect(13) toBeGreaterThan 5 and o toBeLessThan 20
// i.e. the above is equivalent to:
expect(13) toBeGreaterThan 5 toBeLessThan 20
Since
0.12.0