From f63589838344e91f84621162d9e0a4cc2c532949 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Thu, 9 Apr 2015 17:39:12 +0200 Subject: Add spaces around + in tests. --- tests/untried/neg/for-comprehension-old.scala | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/untried/neg/for-comprehension-old.scala') diff --git a/tests/untried/neg/for-comprehension-old.scala b/tests/untried/neg/for-comprehension-old.scala index 10ae363bd..270861751 100644 --- a/tests/untried/neg/for-comprehension-old.scala +++ b/tests/untried/neg/for-comprehension-old.scala @@ -1,11 +1,11 @@ class A { - for (x <- 1 to 5 ; y = x) yield x+y // ok - for (x <- 1 to 5 ; val y = x) yield x+y // fail - for (val x <- 1 to 5 ; y = x) yield x+y // fail - for (val x <- 1 to 5 ; val y = x) yield x+y // fail + for (x <- 1 to 5 ; y = x) yield x + y // ok + for (x <- 1 to 5 ; val y = x) yield x + y // fail + for (val x <- 1 to 5 ; y = x) yield x + y // fail + for (val x <- 1 to 5 ; val y = x) yield x + y // fail - for (z <- 1 to 2 ; x <- 1 to 5 ; y = x) yield x+y // ok - for (z <- 1 to 2 ; x <- 1 to 5 ; val y = x) yield x+y // fail - for (z <- 1 to 2 ; val x <- 1 to 5 ; y = x) yield x+y // fail - for (z <- 1 to 2 ; val x <- 1 to 5 ; val y = x) yield x+y // fail + for (z <- 1 to 2 ; x <- 1 to 5 ; y = x) yield x + y // ok + for (z <- 1 to 2 ; x <- 1 to 5 ; val y = x) yield x + y // fail + for (z <- 1 to 2 ; val x <- 1 to 5 ; y = x) yield x + y // fail + for (z <- 1 to 2 ; val x <- 1 to 5 ; val y = x) yield x + y // fail } -- cgit v1.2.3