aboutsummaryrefslogtreecommitdiff
path: root/test/test/transform
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-15 22:59:58 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-18 16:06:33 +0100
commit46856320f4e21d94b3c5c29a921efac40e12421f (patch)
treefab3c498965408775c8036af64d0602deca99559 /test/test/transform
parent1dbf020c43639b0c37e9005f2692871d39676ac7 (diff)
downloaddotty-46856320f4e21d94b3c5c29a921efac40e12421f.tar.gz
dotty-46856320f4e21d94b3c5c29a921efac40e12421f.tar.bz2
dotty-46856320f4e21d94b3c5c29a921efac40e12421f.zip
Re-enabled and renamed tests
CreateCompanionObjectTests were re-enabled. They failed in a previous version but succeed again in the latest commit. Also uncurry.scala got renamed to curried.scala.
Diffstat (limited to 'test/test/transform')
-rw-r--r--test/test/transform/CreateCompanionObjectsTest.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test/transform/CreateCompanionObjectsTest.scala b/test/test/transform/CreateCompanionObjectsTest.scala
index e12e46496..95a84f4e0 100644
--- a/test/test/transform/CreateCompanionObjectsTest.scala
+++ b/test/test/transform/CreateCompanionObjectsTest.scala
@@ -22,7 +22,7 @@ class CreateCompanionObjectsTest extends DottyTest {
import tpd._
- //@Test
+ @Test
def shouldCreateNonExistingObjectsInPackage = checkCompile("frontend", "class A{} ") {
(tree, context) =>
implicit val ctx = context
@@ -46,7 +46,7 @@ class CreateCompanionObjectsTest extends DottyTest {
)
}
- //@Test
+ @Test
def shouldCreateNonExistingObjectsInBlock = checkCompile("frontend", "class D {def p = {class A{}; 1}} ") {
(tree, context) =>
implicit val ctx = context
@@ -68,7 +68,7 @@ class CreateCompanionObjectsTest extends DottyTest {
)
}
- //@Test
+ @Test
def shouldCreateNonExistingObjectsInTemplate = checkCompile("frontend", "class D {class A{}; } ") {
(tree, context) =>
implicit val ctx = context
@@ -90,7 +90,7 @@ class CreateCompanionObjectsTest extends DottyTest {
)
}
- //@Test
+ @Test
def shouldCreateOnlyIfAskedFor = checkCompile("frontend", "class DONT {class CREATE{}; } ") {
(tree, context) =>
implicit val ctx = context