From 920dac5c0785aaa61a6300e9c9a8adc91004bd65 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Tue, 26 Apr 2016 19:47:23 -0400 Subject: [PATCH 1/1] nitls: do not add '/' since groups are ended by '>' Signed-off-by: Jean Privat --- src/nitls.nit | 2 +- tests/sav/nitls_args4.res | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/nitls.nit b/src/nitls.nit index f8fa778..f875083 100644 --- a/src/nitls.nit +++ b/src/nitls.nit @@ -196,7 +196,7 @@ if opt_source.value then if opt_paths.value then print mp.filepath.as(not null) else - print "{mp.mgroup.full_name}/{ot.display(mp)}" + print "{mp.mgroup.full_name}{ot.display(mp)}" end end end diff --git a/tests/sav/nitls_args4.res b/tests/sav/nitls_args4.res index 267bbdb..56570ed 100644 --- a/tests/sav/nitls_args4.res +++ b/tests/sav/nitls_args4.res @@ -1,10 +1,10 @@ -base_simple3/base_simple3 (base_simple3.nit) -project1/module1 (project1/module1.nit) -project1/module2 (project1/module2.nit) -project1/module3 (project1/module3.nit) -project1/subdir/module4 (project1/subdir/module4.nit) -project1/module_0 (project1/module_0.nit) -project1/subdir/module_0 (project1/subdir/module_0.nit) -project1/module_01 (project1/module_01.nit) -project1/module_02 (project1/module_02.nit) -project1/project1 (project1/project1.nit) +base_simple3>base_simple3 (base_simple3.nit) +project1>module1 (project1/module1.nit) +project1>module2 (project1/module2.nit) +project1>module3 (project1/module3.nit) +project1>subdir>module4 (project1/subdir/module4.nit) +project1>module_0 (project1/module_0.nit) +project1>subdir>module_0 (project1/subdir/module_0.nit) +project1>module_01 (project1/module_01.nit) +project1>module_02 (project1/module_02.nit) +project1>project1 (project1/project1.nit) -- 1.7.9.5