()
| 786 | |
| 787 | #[test] |
| 788 | fn test_table_custom_column_separator() { |
| 789 | let mut table = Table::new(); |
| 790 | table.set_header(vec!["A", "B"]); |
| 791 | table.column_separator(" | "); |
| 792 | table.add_row(vec!["1", "2"]); |
| 793 | |
| 794 | let output = table.to_string(); |
| 795 | assert!(output.contains(" | ")); |
| 796 | } |
| 797 | |
| 798 | #[test] |
| 799 | fn test_table_empty() { |
nothing calls this directly
no test coverage detected