Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jan 18, 2022
1 parent cbde192 commit 9e9334b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test1.expected
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ root
│ │ │
│ │ │
│ │t│
│ lil' ol' me │a│
│ lil' ol' me │a│
│ │l│
│ │l│
│ │ │
Expand Down
3 changes: 2 additions & 1 deletion test/test1.ml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ let () =
let grid =
B.frame @@ B.grid_l
[ [B.text "the center of the triangle is"; B.empty];
[B.center_hv @@ B.text "lil' ol' me";
[B.center_hv @@
B.(rich_text B.Rich_text.(cat [s "lil' "; with_style B.Style.(fg_color Red) (s "ol'"); s " me"]));
B.pad' ~col:0 ~lines:6 @@ B.text "t\na\nl\nl"];
[B.align_right (B.text "i'm aligned right"); B.empty];
[ B.text "loooooooooooooooooooooooooooooooooong"; B.empty; ];
Expand Down

0 comments on commit 9e9334b

Please sign in to comment.