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/kind-repl-command.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/kind-repl-command.check')
-rw-r--r-- | test/files/run/kind-repl-command.check | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/kind-repl-command.check b/test/files/run/kind-repl-command.check index 586b2710e1..1853213555 100644 --- a/test/files/run/kind-repl-command.check +++ b/test/files/run/kind-repl-command.check @@ -21,8 +21,8 @@ scala> :k new { def empty = false } AnyRef{def empty: Boolean}'s kind is A scala> :k Nonexisting -<console>:8: error: not found: value Nonexisting - Nonexisting - ^ +<console>:11: error: not found: value Nonexisting + Nonexisting + ^ scala> :quit |