Open vreuter opened 4 years ago
I just stumbled upon the same issue but not triggered by scalatestplus update but by updating another library (monocle). The same error message and it was solved also by manually including discipline-scalatest into the dependencies.
For a long time I was having trouble w/ 3.0.x --> 3.1.x migration, but everywhere I'm using
scalatest
andscalatestplus
been running pretty smoothly for a while now. I had an old repo that was still on 3.0.8, though, and today I upped to 3.1.2, and I hit an issue I used to have with one of the imports:What was strange was that I'd matched imports in a test file and dependency declarations in the build file to files from a project where 3.1.2 working great:
build.sbt
:Imports in test file:
Yet, in one project the tests could run great through sbt and in the other I ran up against the import error. Turns out, in the project where things were working, I was also using
discipline
:Adding that dependency to the problematic project got things working. Is it known why that would be?
I guess not a big deal, but I'm definitely curious if anyone can point me toward the reason. Thanks in advance!