Skip to content

Commit

Permalink
NeverInfixPattern: add behavior.of to default
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Nov 27, 2023
1 parent 34ac302 commit 5c0e9be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ object NeverInfixPattern {
"in",
"ignore",
"be",
"behavior\\.of",
"taggedAs",
"thrownBy",
"synchronized",
Expand Down
4 changes: 2 additions & 2 deletions scalafmt-tests/src/test/resources/rewrite/AvoidInfix2.stat
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ behavi.or of "..." {
a shouldBe b
}
>>>
behavior.of("..." {
behavior of "..." {
a shouldBe b
})
}
behaviour.of("..." {
a shouldBe b
})
Expand Down

0 comments on commit 5c0e9be

Please sign in to comment.