On 15.08.24 13:46, OCsite wrote:
[...]
test(true) "oops" // a string is not?!?


this is essentially https://groovy-lang.org/dsls.html#_command_chains
and means

  test(true).oops.

What would work is

  test true "oops"

[...]
Caught: java.lang.NullPointerException: Cannot get property 'oops' on
null object

that is btw an NPE because your test method returns what println, which
is void/null

bye Jochen

Reply via email to