diff options
author | Som Snytt <som.snytt@gmail.com> | 2015-06-17 14:47:13 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2015-06-19 08:10:25 -0700 |
commit | c3aca109e95e2259d9909f8457a1422c5c995940 (patch) | |
tree | 733e9869a7a3c064ab667a564fb7e63745b6e390 /test/files/run/reify-repl-fail-gracefully.check | |
parent | aa98d9a8c19ca27d85b62d1eccfc868440dc9ab2 (diff) | |
download | scala-c3aca109e95e2259d9909f8457a1422c5c995940.tar.gz scala-c3aca109e95e2259d9909f8457a1422c5c995940.tar.bz2 scala-c3aca109e95e2259d9909f8457a1422c5c995940.zip |
SI-9206 Fix REPL code indentation
To make code in error messages line up with the original line of
code, templated code is indented by the width of the prompt.
Use the raw prompt (without ANSI escapes or newlines) to determine
the indentation.
Also, indent only once per line.
Diffstat (limited to 'test/files/run/reify-repl-fail-gracefully.check')
-rw-r--r-- | test/files/run/reify-repl-fail-gracefully.check | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/reify-repl-fail-gracefully.check b/test/files/run/reify-repl-fail-gracefully.check index c9e69744d6..eac4d25869 100644 --- a/test/files/run/reify-repl-fail-gracefully.check +++ b/test/files/run/reify-repl-fail-gracefully.check @@ -10,8 +10,8 @@ import scala.reflect.runtime.universe._ scala> scala> reify -<console>:12: error: too few argument lists for macro invocation - reify - ^ +<console>:15: error: too few argument lists for macro invocation + reify + ^ scala> :quit |