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:
claude@clouddev1
2026-06-17 21:39:19 +00:00
parent e9606b5f6d
commit 41b7e9a049
102 changed files with 8017 additions and 4975 deletions
+4 -16
View File
@@ -7,10 +7,7 @@ use rdbms_playground::input_render::InputState;
#[test]
fn before_all_rows_flag_is_incomplete() {
let schema = schema_serial_pk();
let a = assess_at_end(
"update Customers set Email='x' ",
&schema,
);
let a = assess_at_end("update Customers set Email='x' ", &schema);
assert!(matches!(a.state, InputState::IncompleteAtEof));
// Both `where` and `--all-rows` are valid continuations.
assert_candidate_present(&a, &["--all-rows"]);
@@ -20,10 +17,7 @@ fn before_all_rows_flag_is_incomplete() {
#[test]
fn complete_update_all_rows_parses() {
let schema = schema_serial_pk();
let a = assess_at_end(
"update Customers set Email='new@b.c' --all-rows",
&schema,
);
let a = assess_at_end("update Customers set Email='new@b.c' --all-rows", &schema);
assert!(matches!(a.state, InputState::Valid));
assert_eq!(a.parse_result.as_deref(), Ok("Update"));
crate::snap!("complete_all_rows", a);
@@ -33,10 +27,7 @@ fn complete_update_all_rows_parses() {
fn update_without_filter_clause_is_incomplete() {
// Per ADR-0014, update requires WHERE or --all-rows.
let schema = schema_serial_pk();
let a = assess_at_end(
"update Customers set Email='new@b.c'",
&schema,
);
let a = assess_at_end("update Customers set Email='new@b.c'", &schema);
assert!(matches!(a.state, InputState::IncompleteAtEof));
crate::snap!("no_filter_clause", a);
}
@@ -44,10 +35,7 @@ fn update_without_filter_clause_is_incomplete() {
#[test]
fn update_partial_flag_name_is_incomplete() {
let schema = schema_serial_pk();
let a = assess_at_end(
"update Customers set Email='x' --all",
&schema,
);
let a = assess_at_end("update Customers set Email='x' --all", &schema);
// Partial flag still in progress.
assert!(!matches!(a.state, InputState::Valid));
crate::snap!("partial_flag", a);