Skip to content

Commit 728110f

Browse files
committed
Make path.FreeSpecSpec and path.FunSpecSpec to pass in Scala 2.13.0-M5.
1 parent 1d88072 commit 728110f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scalatest-test/src/test/scala/org/scalatest/path/FreeSpecSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class FreeSpecSpec extends org.scalatest.FunSpec with GivenWhenThen {
245245

246246
it("should create new instance as FreeSpecLike") {
247247
val spec = new ExampleFreeSpecLike
248-
assert(spec.newInstance.isInstanceOf[FreeSpecLike])
248+
assert(spec.newInstance.isInstanceOf[org.scalatest.path.FreeSpecLike])
249249
}
250250

251251
describe("(with info calls)") {

scalatest-test/src/test/scala/org/scalatest/path/FunSpecSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class FunSpecSpec extends org.scalatest.FreeSpec with GivenWhenThen {
137137

138138
"should create new instance as FunSpecLike" in {
139139
val spec = new ExampleFunSpecLike
140-
assert(spec.newInstance.isInstanceOf[FunSpecLike])
140+
assert(spec.newInstance.isInstanceOf[org.scalatest.path.FunSpecLike])
141141
}
142142

143143
"(with info calls)" - {

0 commit comments

Comments
 (0)