stryker-mutator / stryker4s

Mutation testing for Scala
https://stryker-mutator.io
Apache License 2.0
201 stars 37 forks source link

Mutated code does not compile (=!=) #1588

Open eirikm opened 5 months ago

eirikm commented 5 months ago

Summary

a === b got mutated to a =!= b

which makes the mutated code not compile.

Should have been a !== b as the documentation says (https://stryker-mutator.io/docs/mutation-testing-elements/supported-mutators/#equality-operator)

Stryker4s config

stryker4s {
  scala-dialect: "scala3"
}

Stryker4s environment

stryker4s 0.16.1

Your Environment

software version(s)
Scala version 3.4.1
Build tool & version 1.10.0
Operating System macOS Sonoma 14.2.1