Skip to content

Commit 9e9334b

Browse files
committed
update tests
1 parent cbde192 commit 9e9334b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/test1.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ root
461461
│ │ │
462462
│ │ │
463463
│ │t│
464-
│ lil' ol' me │a│
464+
│ lil' ol' me │a│
465465
│ │l│
466466
│ │l│
467467
│ │ │

test/test1.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ let () =
2828
let grid =
2929
B.frame @@ B.grid_l
3030
[ [B.text "the center of the triangle is"; B.empty];
31-
[B.center_hv @@ B.text "lil' ol' me";
31+
[B.center_hv @@
32+
B.(rich_text B.Rich_text.(cat [s "lil' "; with_style B.Style.(fg_color Red) (s "ol'"); s " me"]));
3233
B.pad' ~col:0 ~lines:6 @@ B.text "t\na\nl\nl"];
3334
[B.align_right (B.text "i'm aligned right"); B.empty];
3435
[ B.text "loooooooooooooooooooooooooooooooooong"; B.empty; ];

0 commit comments

Comments
 (0)