diff --git a/rewrite-java-test/src/test/java/org/openrewrite/java/InvertConditionTest.java b/rewrite-java-test/src/test/java/org/openrewrite/java/InvertConditionTest.java index 01b9fc6dbea..8fbf94939b3 100644 --- a/rewrite-java-test/src/test/java/org/openrewrite/java/InvertConditionTest.java +++ b/rewrite-java-test/src/test/java/org/openrewrite/java/InvertConditionTest.java @@ -67,7 +67,7 @@ boolean test() { if(!(b || a)) {} if(1 >= 2) {} if(!b) {} - if(!b) {} + if(!(b)) {} if(!test()) {} if(!this.test()) {} return true;