summaryrefslogtreecommitdiff
path: root/test/files/jvm/nooptimise
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/nooptimise')
-rw-r--r--test/files/jvm/nooptimise/Foo_1.scala2
-rw-r--r--test/files/jvm/nooptimise/Test.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/nooptimise/Foo_1.scala b/test/files/jvm/nooptimise/Foo_1.scala
index c6f1b06c8e..896d5695de 100644
--- a/test/files/jvm/nooptimise/Foo_1.scala
+++ b/test/files/jvm/nooptimise/Foo_1.scala
@@ -3,6 +3,6 @@ class Foo_1 {
// optimization will remove this magic 3 from appearing in the source
// so -Ynooptimize should prevent that
val x = 3
-
+
}
}
diff --git a/test/files/jvm/nooptimise/Test.scala b/test/files/jvm/nooptimise/Test.scala
index ec8daa6e16..7b7ecd6dbd 100644
--- a/test/files/jvm/nooptimise/Test.scala
+++ b/test/files/jvm/nooptimise/Test.scala
@@ -8,7 +8,7 @@ object Test extends BytecodeTest {
val classNode = loadClassNode("Foo_1")
val methodNode = getMethod(classNode, "foo")
// if optimization didn't run then
- // there should be some useless instructions
+ // there should be some useless instructions
// with the magic constant 3
val expected = 1
val got = countMagicThrees(methodNode.instructions)