chore: add cargo fmt check to Rust CI and fix existing violations (#620)
TypeScript CI has prettier --check but Rust CI only runs cargo test. Add cargo fmt --check to catch formatting issues early, and fix the 8 pre-existing formatting violations on main.
This commit is contained in:
@@ -5181,7 +5181,10 @@ mod tests {
|
||||
let _guard = EnvGuard::new(&["AGENT_BROWSER_HEADED"]);
|
||||
_guard.set("AGENT_BROWSER_HEADED", "1");
|
||||
let opts = launch_options_from_env();
|
||||
assert!(!opts.headless, "AGENT_BROWSER_HEADED=1 should set headless=false");
|
||||
assert!(
|
||||
!opts.headless,
|
||||
"AGENT_BROWSER_HEADED=1 should set headless=false"
|
||||
);
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
||||
Reference in New Issue
Block a user