diff --git a/README.adoc b/README.adoc index e26b30f..5cc2b63 100644 --- a/README.adoc +++ b/README.adoc @@ -146,7 +146,7 @@ if (isFalse()) { ---- Condition.where(isFalse()) .then(() -> doSomething()) - .otherwise(isTrue) + .otherwise(isTrue()) .then(() -> doSomethingElse()); ----