[BUG] - termscp not respecting port in ssh config (#216)

This commit is contained in:
Christian Visintin
2023-10-01 16:12:43 +02:00
committed by GitHub
parent d3c2c084db
commit 20c3e22572
7 changed files with 32 additions and 16 deletions

View File

@@ -524,8 +524,10 @@ mod tests {
#[test]
fn test_config_serialization_theme_serialize() {
let mut theme: Theme = Theme::default();
theme.auth_address = Color::Rgb(240, 240, 240);
let mut theme: Theme = Theme {
auth_address: Color::Rgb(240, 240, 240),
..Default::default()
};
let tmpfile: tempfile::NamedTempFile = tempfile::NamedTempFile::new().unwrap();
let (reader, writer) = create_file_ioers(tmpfile.path());
assert!(serialize(&theme, Box::new(writer)).is_ok());