Skip to content

Commit e38e830

Browse files
committed
fix formatting in config tests
1 parent 9b14665 commit e38e830

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

src/core/config.rs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,10 @@ mod tests {
316316

317317
#[test]
318318
fn normalize_host_adds_https() {
319-
assert_eq!(normalize_host("cloud.getdbt.com".into()), "https://cloud.getdbt.com");
319+
assert_eq!(
320+
normalize_host("cloud.getdbt.com".into()),
321+
"https://cloud.getdbt.com"
322+
);
320323
}
321324

322325
#[test]
@@ -329,7 +332,10 @@ mod tests {
329332

330333
#[test]
331334
fn normalize_host_preserves_http() {
332-
assert_eq!(normalize_host("http://localhost".into()), "http://localhost");
335+
assert_eq!(
336+
normalize_host("http://localhost".into()),
337+
"http://localhost"
338+
);
333339
}
334340

335341
#[test]
@@ -403,7 +409,10 @@ mod tests {
403409
output = "json"
404410
"#;
405411
let file: ConfigFile = toml::from_str(toml).unwrap();
406-
assert_eq!(file.connection.host.as_deref(), Some("https://tk626.us1.dbt.com"));
412+
assert_eq!(
413+
file.connection.host.as_deref(),
414+
Some("https://tk626.us1.dbt.com")
415+
);
407416
assert_eq!(file.connection.account_id, Some(7));
408417
assert_eq!(file.defaults.project_id.as_deref(), Some("42"));
409418
assert_eq!(file.defaults.output, "json");

0 commit comments

Comments
 (0)