aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 16:04:19 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-09 16:04:19 +0200
commitd9b224102c576150fc4791bf639a7aa36e5f8337 (patch)
tree819f558f1c0e6e3caf2dc8320b3da32682e1ff9f
parentf73d46adabe4195f4a68defd2c82382f37f1b7ee (diff)
downloaddotty-d9b224102c576150fc4791bf639a7aa36e5f8337.tar.gz
dotty-d9b224102c576150fc4791bf639a7aa36e5f8337.tar.bz2
dotty-d9b224102c576150fc4791bf639a7aa36e5f8337.zip
Make all dotty tests end in newline
-rw-r--r--tests/neg/patternUnsoundness.scala2
-rw-r--r--tests/neg/templateParents.scala2
-rw-r--r--tests/neg/typedIdents.scala2
-rw-r--r--tests/neg/typedapply.scala2
-rw-r--r--tests/pickling/selftypes.scala2
-rw-r--r--tests/pickling/tryTyping.scala2
-rw-r--r--tests/pickling/varargs.scala2
-rw-r--r--tests/pos/blockescapes.scala2
-rw-r--r--tests/pos/inferred.scala2
-rw-r--r--tests/pos/packageobject.scala2
-rw-r--r--tests/pos/selftypes.scala2
-rw-r--r--tests/pos/sigs.scala2
-rw-r--r--tests/pos/tailcall/i321.scala2
-rw-r--r--tests/pos/tailcall/tailcall.scala2
-rw-r--r--tests/pos/tryTyping.scala2
-rw-r--r--tests/pos/typedIdents.scala2
-rw-r--r--tests/pos/typedapply.scala2
-rw-r--r--tests/pos/varargs.scala2
-rw-r--r--tests/untried/neg/illegal-stmt-start.scala2
-rw-r--r--tests/untried/neg/macro-invalidusage-presuper/Impls_1.scala2
-rw-r--r--tests/untried/neg/macro-invalidusage-presuper/Macros_Test_2.scala2
-rw-r--r--tests/untried/neg/t3189.scala2
-rw-r--r--tests/untried/neg/t3209.scala2
-rw-r--r--tests/untried/neg/t4069.scala2
-rw-r--r--tests/untried/neg/t4584.scala2
-rw-r--r--tests/untried/neg/t5856.scala2
-rw-r--r--tests/untried/neg/t7757b.scala2
-rw-r--r--tests/untried/neg/t8158/Macros_1.scala2
-rw-r--r--tests/untried/neg/t8158/Test_2.scala2
-rw-r--r--tests/untried/neg/unicode-unterminated-quote.scala2
-rw-r--r--tests/untried/neg/xmltruncated7.scala2
31 files changed, 31 insertions, 31 deletions
diff --git a/tests/neg/patternUnsoundness.scala b/tests/neg/patternUnsoundness.scala
index b3d699a5c..c13c13072 100644
--- a/tests/neg/patternUnsoundness.scala
+++ b/tests/neg/patternUnsoundness.scala
@@ -14,4 +14,4 @@ object patternUnsoundness extends App {
}
val z: String = x.s // ClassCast exception
-} \ No newline at end of file
+}
diff --git a/tests/neg/templateParents.scala b/tests/neg/templateParents.scala
index 6ecc8c384..a03962525 100644
--- a/tests/neg/templateParents.scala
+++ b/tests/neg/templateParents.scala
@@ -13,4 +13,4 @@ object templateParentsNeg1 {
trait E extends C[Int]
val x = new D with E // error no type fits between inferred bounds
-} \ No newline at end of file
+}
diff --git a/tests/neg/typedIdents.scala b/tests/neg/typedIdents.scala
index b664da42d..1bac62bd6 100644
--- a/tests/neg/typedIdents.scala
+++ b/tests/neg/typedIdents.scala
@@ -31,4 +31,4 @@ package P { // `X' bound by package clause
}
}
}
-} \ No newline at end of file
+}
diff --git a/tests/neg/typedapply.scala b/tests/neg/typedapply.scala
index ae168bcd9..c059418ac 100644
--- a/tests/neg/typedapply.scala
+++ b/tests/neg/typedapply.scala
@@ -14,4 +14,4 @@ object typedapply {
baz[Int, String](1, "abc")
-} \ No newline at end of file
+}
diff --git a/tests/pickling/selftypes.scala b/tests/pickling/selftypes.scala
index 243405f77..4bd0dd752 100644
--- a/tests/pickling/selftypes.scala
+++ b/tests/pickling/selftypes.scala
@@ -17,4 +17,4 @@ object selftypes {
class AB extends A with B
-} \ No newline at end of file
+}
diff --git a/tests/pickling/tryTyping.scala b/tests/pickling/tryTyping.scala
index a2aeb17c8..cfa2c7a77 100644
--- a/tests/pickling/tryTyping.scala
+++ b/tests/pickling/tryTyping.scala
@@ -17,4 +17,4 @@ object tryTyping{
try{???; 1}
catch a3(3)
}
-} \ No newline at end of file
+}
diff --git a/tests/pickling/varargs.scala b/tests/pickling/varargs.scala
index 3739636b8..616456616 100644
--- a/tests/pickling/varargs.scala
+++ b/tests/pickling/varargs.scala
@@ -10,4 +10,4 @@ object varargs {
g(Nil: _*)
g(1)
g()
-} \ No newline at end of file
+}
diff --git a/tests/pos/blockescapes.scala b/tests/pos/blockescapes.scala
index 68ce37ed3..0b6a3ca03 100644
--- a/tests/pos/blockescapes.scala
+++ b/tests/pos/blockescapes.scala
@@ -8,4 +8,4 @@ object blockescapes {
trait T
def m0: T = { object Foo { class Bar extends T } ; new Foo.Bar }
-} \ No newline at end of file
+}
diff --git a/tests/pos/inferred.scala b/tests/pos/inferred.scala
index 87bbd9473..311e56a50 100644
--- a/tests/pos/inferred.scala
+++ b/tests/pos/inferred.scala
@@ -55,4 +55,4 @@ object Inferred {
val ints3 = new CONS[Int](1, NIL)
val ints4 = new CONS(1, NIL)
-} \ No newline at end of file
+}
diff --git a/tests/pos/packageobject.scala b/tests/pos/packageobject.scala
index 1a373c248..e88069755 100644
--- a/tests/pos/packageobject.scala
+++ b/tests/pos/packageobject.scala
@@ -2,4 +2,4 @@ package test {
object `package` {}
}
-package object foo {} \ No newline at end of file
+package object foo {}
diff --git a/tests/pos/selftypes.scala b/tests/pos/selftypes.scala
index 243405f77..4bd0dd752 100644
--- a/tests/pos/selftypes.scala
+++ b/tests/pos/selftypes.scala
@@ -17,4 +17,4 @@ object selftypes {
class AB extends A with B
-} \ No newline at end of file
+}
diff --git a/tests/pos/sigs.scala b/tests/pos/sigs.scala
index 4c1973cad..4af4bda90 100644
--- a/tests/pos/sigs.scala
+++ b/tests/pos/sigs.scala
@@ -39,4 +39,4 @@ object sigs {
}
-} \ No newline at end of file
+}
diff --git a/tests/pos/tailcall/i321.scala b/tests/pos/tailcall/i321.scala
index 595e13910..daa078dd5 100644
--- a/tests/pos/tailcall/i321.scala
+++ b/tests/pos/tailcall/i321.scala
@@ -23,4 +23,4 @@ class i321[T >: Null <: AnyRef] {
final def go2[U >: Null <: AnyRef](t: i321[U]): Int = t.go2(this)
-} \ No newline at end of file
+}
diff --git a/tests/pos/tailcall/tailcall.scala b/tests/pos/tailcall/tailcall.scala
index 1e05840ea..faa707e18 100644
--- a/tests/pos/tailcall/tailcall.scala
+++ b/tests/pos/tailcall/tailcall.scala
@@ -6,4 +6,4 @@ class tailcall {
class TypedApply[T2]{
private def firstDiff[T <: TypedApply[T2]](xs: List[T]): Int = firstDiff(xs)
-} \ No newline at end of file
+}
diff --git a/tests/pos/tryTyping.scala b/tests/pos/tryTyping.scala
index a2aeb17c8..cfa2c7a77 100644
--- a/tests/pos/tryTyping.scala
+++ b/tests/pos/tryTyping.scala
@@ -17,4 +17,4 @@ object tryTyping{
try{???; 1}
catch a3(3)
}
-} \ No newline at end of file
+}
diff --git a/tests/pos/typedIdents.scala b/tests/pos/typedIdents.scala
index f6c88379b..650766ec0 100644
--- a/tests/pos/typedIdents.scala
+++ b/tests/pos/typedIdents.scala
@@ -31,4 +31,4 @@ package P { // `X' bound by package clause
}
}
}
-} \ No newline at end of file
+}
diff --git a/tests/pos/typedapply.scala b/tests/pos/typedapply.scala
index e28e59d4f..8496d528b 100644
--- a/tests/pos/typedapply.scala
+++ b/tests/pos/typedapply.scala
@@ -8,4 +8,4 @@ object typedapply {
foo[Int, String] _
-} \ No newline at end of file
+}
diff --git a/tests/pos/varargs.scala b/tests/pos/varargs.scala
index 3739636b8..616456616 100644
--- a/tests/pos/varargs.scala
+++ b/tests/pos/varargs.scala
@@ -10,4 +10,4 @@ object varargs {
g(Nil: _*)
g(1)
g()
-} \ No newline at end of file
+}
diff --git a/tests/untried/neg/illegal-stmt-start.scala b/tests/untried/neg/illegal-stmt-start.scala
index 48ae0a8b0..275bc80e9 100644
--- a/tests/untried/neg/illegal-stmt-start.scala
+++ b/tests/untried/neg/illegal-stmt-start.scala
@@ -2,4 +2,4 @@ class Test {
def foo {
private def bar {}
}
-} \ No newline at end of file
+}
diff --git a/tests/untried/neg/macro-invalidusage-presuper/Impls_1.scala b/tests/untried/neg/macro-invalidusage-presuper/Impls_1.scala
index ea98f01fa..7f10e9185 100644
--- a/tests/untried/neg/macro-invalidusage-presuper/Impls_1.scala
+++ b/tests/untried/neg/macro-invalidusage-presuper/Impls_1.scala
@@ -2,4 +2,4 @@ import scala.reflect.macros.blackbox.Context
object Impls {
def impl(c: Context) = { import c.universe._; c.Expr[Unit](q"()") }
-} \ No newline at end of file
+}
diff --git a/tests/untried/neg/macro-invalidusage-presuper/Macros_Test_2.scala b/tests/untried/neg/macro-invalidusage-presuper/Macros_Test_2.scala
index ff46a5915..929c36528 100644
--- a/tests/untried/neg/macro-invalidusage-presuper/Macros_Test_2.scala
+++ b/tests/untried/neg/macro-invalidusage-presuper/Macros_Test_2.scala
@@ -1,3 +1,3 @@
import Impls._
-class D extends { def x = macro impl } with AnyRef \ No newline at end of file
+class D extends { def x = macro impl } with AnyRef
diff --git a/tests/untried/neg/t3189.scala b/tests/untried/neg/t3189.scala
index 4ea4bb758..94c13c54d 100644
--- a/tests/untried/neg/t3189.scala
+++ b/tests/untried/neg/t3189.scala
@@ -1,3 +1,3 @@
object A {
val Array(a,b*) = ("": Any)
-} \ No newline at end of file
+}
diff --git a/tests/untried/neg/t3209.scala b/tests/untried/neg/t3209.scala
index d89372665..f03c2942b 100644
--- a/tests/untried/neg/t3209.scala
+++ b/tests/untried/neg/t3209.scala
@@ -1,2 +1,2 @@
@javax.annotation.Generated(Array("test"))
-package test \ No newline at end of file
+package test
diff --git a/tests/untried/neg/t4069.scala b/tests/untried/neg/t4069.scala
index 80df6ec16..831eba413 100644
--- a/tests/untried/neg/t4069.scala
+++ b/tests/untried/neg/t4069.scala
@@ -7,4 +7,4 @@ object ParserBug {
case 2 =>
<div/>
}
-} \ No newline at end of file
+}
diff --git a/tests/untried/neg/t4584.scala b/tests/untried/neg/t4584.scala
index b34aba91a..0ed04355d 100644
--- a/tests/untried/neg/t4584.scala
+++ b/tests/untried/neg/t4584.scala
@@ -1 +1 @@
-class A { val \u2 \ No newline at end of file
+class A { val \u2
diff --git a/tests/untried/neg/t5856.scala b/tests/untried/neg/t5856.scala
index 2ceee590a..6838fe0dd 100644
--- a/tests/untried/neg/t5856.scala
+++ b/tests/untried/neg/t5856.scala
@@ -8,4 +8,4 @@ object Test {
val s7 = s"$s1 $null $super"
val s8 = s"$super"
val s9 = s"$"
-} \ No newline at end of file
+}
diff --git a/tests/untried/neg/t7757b.scala b/tests/untried/neg/t7757b.scala
index e9a537dba..e67d944bd 100644
--- a/tests/untried/neg/t7757b.scala
+++ b/tests/untried/neg/t7757b.scala
@@ -1,2 +1,2 @@
trait Foo2
-@annot2 \ No newline at end of file
+@annot2
diff --git a/tests/untried/neg/t8158/Macros_1.scala b/tests/untried/neg/t8158/Macros_1.scala
index b84e3ed8d..c0df1d9c0 100644
--- a/tests/untried/neg/t8158/Macros_1.scala
+++ b/tests/untried/neg/t8158/Macros_1.scala
@@ -31,4 +31,4 @@ object Max {
}
c.Expr[Any](t)
}
-} \ No newline at end of file
+}
diff --git a/tests/untried/neg/t8158/Test_2.scala b/tests/untried/neg/t8158/Test_2.scala
index f5ac6616b..aeeb62982 100644
--- a/tests/untried/neg/t8158/Test_2.scala
+++ b/tests/untried/neg/t8158/Test_2.scala
@@ -11,4 +11,4 @@ class BugTest {
case _ => ???
}
}
-} \ No newline at end of file
+}
diff --git a/tests/untried/neg/unicode-unterminated-quote.scala b/tests/untried/neg/unicode-unterminated-quote.scala
index bb6eab667..16cadb086 100644
--- a/tests/untried/neg/unicode-unterminated-quote.scala
+++ b/tests/untried/neg/unicode-unterminated-quote.scala
@@ -1,2 +1,2 @@
class A {
- val x = \u0022 \ No newline at end of file
+ val x = \u0022
diff --git a/tests/untried/neg/xmltruncated7.scala b/tests/untried/neg/xmltruncated7.scala
index 7e296a910..466b169df 100644
--- a/tests/untried/neg/xmltruncated7.scala
+++ b/tests/untried/neg/xmltruncated7.scala
@@ -1,3 +1,3 @@
object Test {
<p>foo}: </p>
-} \ No newline at end of file
+}