Skip to content

Commit

Permalink
テスト追加
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Jun 25, 2024
1 parent 3acd861 commit a800986
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion input/src/main/scala/fix/ApplyInfixNoParenTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit a800986

Please sign in to comment.