summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-03-17 22:16:46 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-03-17 22:16:46 -0700
commitd2361a536a5a72e99bffb6e920e2dadaeefad912 (patch)
tree374ee3e3126e29dde8ed1268f3ae962610b76276 /test/files/run
parent25aabc80c9f07bc75ad5b24d48b14f0911544eca (diff)
parent4f17806b1d3b0e6fb66a387b74ee9ea15da77ed8 (diff)
downloadscala-d2361a536a5a72e99bffb6e920e2dadaeefad912.tar.gz
scala-d2361a536a5a72e99bffb6e920e2dadaeefad912.tar.bz2
scala-d2361a536a5a72e99bffb6e920e2dadaeefad912.zip
Merge pull request #2244 from paulp/pr/notNull
SI-7247, deprecate NotNull.
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/t6646.check2
-rw-r--r--test/files/run/t6646.scala6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/t6646.check b/test/files/run/t6646.check
index b0b7ad32f3..15715dae91 100644
--- a/test/files/run/t6646.check
+++ b/test/files/run/t6646.check
@@ -1,4 +1,4 @@
-Found NotNull
+Found NoNull
Found lower
Found 2
A single ident is always a pattern
diff --git a/test/files/run/t6646.scala b/test/files/run/t6646.scala
index 150b0df11e..a377ac274e 100644
--- a/test/files/run/t6646.scala
+++ b/test/files/run/t6646.scala
@@ -1,14 +1,14 @@
sealed trait ColumnOption
-case object NotNull extends ColumnOption
+case object NoNull extends ColumnOption
case object PrimaryKey extends ColumnOption
case object lower extends ColumnOption
object Test {
def main(args: Array[String]) {
- val l = List(PrimaryKey, NotNull, lower)
+ val l = List(PrimaryKey, NoNull, lower)
// withFilter must be generated in these
- for (option @ NotNull <- l) println("Found " + option)
+ for (option @ NoNull <- l) println("Found " + option)
for (option @ `lower` <- l) println("Found " + option)
for ((`lower`, i) <- l.zipWithIndex) println("Found " + i)