Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiburt committed Jul 23, 2024
1 parent 595b6cd commit bc1a78e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tabled/examples/border_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn main() {

let mut theme = Theme::from_style(Style::modern());
theme.remove_horizontal_lines();
theme.insert_horizontal_line(1, hline.into());
theme.insert_horizontal_line(1, hline);

let table = Table::new(data)
.with(theme)
Expand Down
4 changes: 2 additions & 2 deletions tabled/tests/settings/style_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2297,8 +2297,8 @@ test_table!(
let m = Matrix::new(3, 3);

let mut style = Theme::from_style(Style::ascii());
style.insert_horizontal_line(1, HorizontalLine::full('8', '8', '8', '8').into());
style.insert_vertical_line(1, VerticalLine::full('*', 'x', 'c', '2').into());
style.insert_horizontal_line(1, HorizontalLine::full('8', '8', '8', '8'));
style.insert_vertical_line(1, VerticalLine::full('*', 'x', 'c', '2'));

m.with(style)
},
Expand Down

0 comments on commit bc1a78e

Please sign in to comment.