aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/scala/async/neg/AnfTransformNegSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/scala/async/neg/AnfTransformNegSpec.scala')
-rw-r--r--src/test/scala/scala/async/neg/AnfTransformNegSpec.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/scala/async/neg/AnfTransformNegSpec.scala b/src/test/scala/scala/async/neg/AnfTransformNegSpec.scala
index 974a5f1..38790dd 100644
--- a/src/test/scala/scala/async/neg/AnfTransformNegSpec.scala
+++ b/src/test/scala/scala/async/neg/AnfTransformNegSpec.scala
@@ -13,7 +13,7 @@ class AnfTransformNegSpec {
@Test
def `inlining block produces duplicate definition`() {
- expectError("x is already defined as value x", "-cp target/scala-2.10/classes -deprecation -Xfatal-warnings") {
+ expectError("x is already defined as value x", "-deprecation -Xfatal-warnings") {
"""
| import scala.concurrent.ExecutionContext.Implicits.global
| import scala.concurrent.Future
@@ -36,7 +36,7 @@ class AnfTransformNegSpec {
@Test
def `inlining block in tail position produces duplicate definition`() {
- expectError("x is already defined as value x", "-cp target/scala-2.10/classes -deprecation -Xfatal-warnings") {
+ expectError("x is already defined as value x", "-deprecation -Xfatal-warnings") {
"""
| import scala.concurrent.ExecutionContext.Implicits.global
| import scala.concurrent.Future