style: format the whole tree with cargo fmt (stock defaults, #35)
One-time, mechanical reformat — no functional changes. The tree was not rustfmt-clean (~1800 hunks across ~100 files); this brings it to stock `cargo fmt` defaults so a `cargo fmt --check` CI gate can follow. Behaviour-preserving: 2509 pass / 0 fail / 1 ignored (unchanged baseline), clippy clean. A .git-blame-ignore-revs entry follows so `git blame` skips this commit.
This commit is contained in:
@@ -42,13 +42,8 @@ fn after_where_offers_active_table_columns_no_leakage() {
|
||||
#[test]
|
||||
fn after_where_column_equals_offers_typed_prose() {
|
||||
let schema = schema_serial_pk();
|
||||
let a = assess_at_end(
|
||||
"delete from Customers where Email=",
|
||||
&schema,
|
||||
);
|
||||
let prose = hint_prose(&a).unwrap_or_else(|| {
|
||||
panic!("expected Prose, got {:?}", a.hint)
|
||||
});
|
||||
let a = assess_at_end("delete from Customers where Email=", &schema);
|
||||
let prose = hint_prose(&a).unwrap_or_else(|| panic!("expected Prose, got {:?}", a.hint));
|
||||
assert!(
|
||||
prose.contains("Email"),
|
||||
"should name `Email`, got prose: {prose:?}",
|
||||
@@ -63,10 +58,7 @@ fn after_where_column_equals_offers_typed_prose() {
|
||||
#[test]
|
||||
fn complete_delete_with_where_parses() {
|
||||
let schema = schema_serial_pk();
|
||||
let a = assess_at_end(
|
||||
"delete from Customers where id=1",
|
||||
&schema,
|
||||
);
|
||||
let a = assess_at_end("delete from Customers where id=1", &schema);
|
||||
assert!(matches!(a.state, InputState::Valid));
|
||||
assert_eq!(a.parse_result.as_deref(), Ok("Delete"));
|
||||
crate::snap!("complete_delete", a);
|
||||
@@ -76,9 +68,7 @@ fn complete_delete_with_where_parses() {
|
||||
fn delete_with_datetime_column_says_yyyy_mm_dd_t() {
|
||||
let schema = schema_every_type();
|
||||
let a = assess_at_end("delete from Things where ts=", &schema);
|
||||
let prose = hint_prose(&a).unwrap_or_else(|| {
|
||||
panic!("expected Prose, got {:?}", a.hint)
|
||||
});
|
||||
let prose = hint_prose(&a).unwrap_or_else(|| panic!("expected Prose, got {:?}", a.hint));
|
||||
assert!(
|
||||
prose.contains("ts"),
|
||||
"should name `ts`, got prose: {prose:?}",
|
||||
|
||||
Reference in New Issue
Block a user