diff --git a/src/org/rascalmpl/library/lang/box/util/Box2Text.rsc b/src/org/rascalmpl/library/lang/box/util/Box2Text.rsc index 401c1b08cfe..b024fa69a21 100644 --- a/src/org/rascalmpl/library/lang/box/util/Box2Text.rsc +++ b/src/org/rascalmpl/library/lang/box/util/Box2Text.rsc @@ -515,3 +515,14 @@ test bool simpleAlignedTableDifferentAlignment() '777 888 999 '"; +test bool WDtest() { + L1 = H([L("aap")] , hs=0); + L2 = H([WD([L1]), L("noot")], hs=0); + L3 = H([WD([L2]), L("mies")], hs=0); + + return format(V([L1, L2, L3])) + == "aap + ' noot + ' mies + '"; +} \ No newline at end of file