Skip to content

Commit

Permalink
Assert instead of scalafix:ok
Browse files Browse the repository at this point in the history
  • Loading branch information
olafurpg committed Dec 11, 2017
1 parent 7896ccd commit a992b02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scalafix-tests/input/src/main/scala/test/Disable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ If you must Option.get, wrap the code block with
...
// scalafix:on Option.get
*/
val l: ListBuffer[Int] =
scala.collection.mutable.ListBuffer.empty[Int] // scalafix:ok Disable.ListBuffer
val l: ListBuffer[Int] = scala.collection.mutable.ListBuffer.empty[Int] // assert: Disable.ListBuffer
List(1) + "any2stringadd" /* assert: Disable.any2stringadd
^
any2stringadd is disabled and it got inferred as `scala.Predef.any2stringadd[List[Int]](*)`
Expand Down

0 comments on commit a992b02

Please sign in to comment.