Skip to content

Commit

Permalink
added failing alignment test
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Mar 29, 2024
1 parent f16f61b commit e6b0253
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/org/rascalmpl/library/lang/box/util/Box2Text.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -462,4 +462,12 @@ test bool simpleTable()
== "1 2 3
'4 5 6
'7 8 9
'";

@synopsis{this does not look right... the 66 is not right aligned}
test bool simpleAlignedTable()
= format(A([R([L("1"),L("2"),L("3")]),R([L("44"), L("55"), L("66")]),R([L("777"), L("888"), L("999")])], columns=[l(),c(),r()]))
== "1 2 3
'44 55 66
'777 888 999
'";

0 comments on commit e6b0253

Please sign in to comment.