()
| 775 | |
| 776 | #[test] |
| 777 | fn test_table_no_header_separator() { |
| 778 | let mut table = Table::new(); |
| 779 | table.set_header(vec!["A", "B"]); |
| 780 | table.show_header_separator(false); |
| 781 | table.add_row(vec!["1", "2"]); |
| 782 | |
| 783 | let output = table.to_string(); |
| 784 | assert!(!output.contains("─")); |
| 785 | } |
| 786 | |
| 787 | #[test] |
| 788 | fn test_table_custom_column_separator() { |
nothing calls this directly
no test coverage detected