diff --git a/input/src/main/scala/fix/ApplyInfixNoParenTest.scala b/input/src/main/scala/fix/ApplyInfixNoParenTest.scala index 5bb808d..e348bd6 100644 --- a/input/src/main/scala/fix/ApplyInfixNoParenTest.scala +++ b/input/src/main/scala/fix/ApplyInfixNoParenTest.scala @@ -3,4 +3,8 @@ rule = ApplyInfixNoParen */ package fix -trait ApplyInfixNoParenTest +trait ApplyInfixNoParenTest { + def f1: Boolean = false == true && false // assert: ApplyInfixNoParen + def f2: Boolean = (false == true) && false // これはOK + def f3: Boolean = false == (true && false) // これもOK +}