()
| 851 | |
| 852 | #[test] |
| 853 | fn test_kv_table_custom_separator() { |
| 854 | let table = KeyValueTable::new().separator(" = ").add("x", "1"); |
| 855 | |
| 856 | let output = table.to_string(); |
| 857 | assert!(output.contains("x = 1")); |
| 858 | } |
| 859 | |
| 860 | #[test] |
| 861 | fn test_kv_table_no_alignment() { |