Merge: nitls: fix tree representation of nested groups
authorJean Privat <jean@pryen.org>
Sun, 5 Jun 2016 16:12:49 +0000 (12:12 -0400)
committerJean Privat <jean@pryen.org>
Sun, 5 Jun 2016 16:12:49 +0000 (12:12 -0400)
commitdc03c3f43fc0be911ae6d49ff5150fdf1c65f7cf
tree4095847322a04c35942e41b145d661e55cb65dc4
parentb919c7566005fb53bd1c64b6b37fc4c3b01cb361
parent47c7a9ffff87129f74b814bd11ffd84050d699af
Merge: nitls: fix tree representation of nested groups

nitls wrongly detached some nested groups in tree-mode.

Before:

~~~
$ nitls -tp lib/nitcorn/examples/src/nitcorn_hello_world.nit lib/nitcorn/http_response.nit
lib/nitcorn/examples
`--lib/nitcorn/examples/src
   `--lib/nitcorn/examples/src/nitcorn_hello_world.nit
lib/nitcorn
`--lib/nitcorn/http_response.nit
~~~

After:

~~~
$ nitls -tp lib/nitcorn/examples/src/nitcorn_hello_world.nit lib/nitcorn/http_response.nit
lib/nitcorn
|--lib/nitcorn/examples
|  `--lib/nitcorn/examples/src
|     `--lib/nitcorn/examples/src/nitcorn_hello_world.nit
`--lib/nitcorn/http_response.nit
~~~

Pull-Request: #2161
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
tests/nitls.args