Skip to content

Commit 135b0c5

Browse files
committed
Updated to use easymock 5.0.1, dropped the support for Scala 2.10.7 as class generated by Scala 2.10 seems not playing well with easymock 5.0, got the following error when running test:
java.lang.IncompatibleClassChangeError: org.scalatestplus.easymock.EasyMockSugarSpec$$anonfun$17$$anon$1 and org.scalatestplus.easymock.EasyMockSugarSpec$$anonfun$17$$anon$1$$anonfun$3$OneFish$3 disagree on InnerClasses attribute
1 parent 23a6712 commit 135b0c5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33

44
**Usage**
55

6-
To use it for ScalaTest 3.2.15 and EasyMock 4.3.x:
6+
To use it for ScalaTest 3.2.15 and EasyMock 5.0.x:
77

88
SBT:
99

1010
```
11-
libraryDependencies += "org.scalatestplus" %% "easymock-4-3" % "3.2.15.0" % "test"
11+
libraryDependencies += "org.scalatestplus" %% "easymock-5-0" % "3.2.15.0" % "test"
1212
```
1313

1414
Maven:
1515

1616
```
1717
<dependency>
1818
<groupId>org.scalatestplus</groupId>
19-
<artifactId>easymock-4-3_2.13</artifactId>
19+
<artifactId>easymock-5-0_2.13</artifactId>
2020
<version>3.2.15.0</version>
2121
<scope>test</scope>
2222
</dependency>

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import java.io.PrintWriter
22
import scala.io.Source
33

4-
name := "easymock-4.3"
4+
name := "easymock-5.0"
55

66
organization := "org.scalatestplus"
77

@@ -28,12 +28,12 @@ developers := List(
2828

2929
scalaVersion := "2.13.10"
3030

31-
crossScalaVersions := List("2.10.7", "2.11.12", "2.12.17", "2.13.10", "3.1.3")
31+
crossScalaVersions := List("2.11.12", "2.12.17", "2.13.10", "3.1.3")
3232

3333
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
3434

3535
libraryDependencies ++= Seq(
36-
"org.easymock" % "easymock" % "4.3",
36+
"org.easymock" % "easymock" % "5.0.1",
3737
"org.scalatest" %% "scalatest-core" % "3.2.15",
3838
"org.scalatest" %% "scalatest-funsuite" % "3.2.15" % "test",
3939
"org.scalatest" %% "scalatest-flatspec" % "3.2.15" % "test",

0 commit comments

Comments
 (0)