You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
None of the overloaded alternatives of method should in trait StringShouldWrapperForVerb with types
(right: => Unit): Unit
(right: String): Unit
match arguments (<nonsensical><notype></nonsensical>)
Expectation
No error, same as in Scala 2.13?
The text was updated successfully, but these errors were encountered:
I accidently noticed this issue when upgrading tests for ScalaTest integration in IntelliJ to Scala 3 & ScalaTest 3.2.11.
(it's not critical to me, though)
importorg.scalatest._importorg.scalatest.wordspec._classWordSpecTestextendsAnyWordSpec {
"empty 1" should {
"ignore other tests" in {
print(">>TEST: FAILED <<")
}
}
"empty 2" should {
//commented test body (for some reasons)
}
}
This can happen when someone comments test body (for any reason)
I thought that it was fixed in 3.1.2, cause I saw no error in the example from #14699
But turns out I just used the same file, and it showed the first error, hiding the error from the ticket =D
similar to #14699
The following works in 2.13, but fails in Scala 3.
Compiler version
3.1.2
Minimized code
Scala 3 scastie
Scala 2 scastie
Output
Expectation
No error, same as in Scala 2.13?
The text was updated successfully, but these errors were encountered: