diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-03-17 22:16:46 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-03-17 22:16:46 -0700 |
commit | d2361a536a5a72e99bffb6e920e2dadaeefad912 (patch) | |
tree | 374ee3e3126e29dde8ed1268f3ae962610b76276 /test/files/run | |
parent | 25aabc80c9f07bc75ad5b24d48b14f0911544eca (diff) | |
parent | 4f17806b1d3b0e6fb66a387b74ee9ea15da77ed8 (diff) | |
download | scala-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.check | 2 | ||||
-rw-r--r-- | test/files/run/t6646.scala | 6 |
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) |