style: rustfmt the appgate, federation and manifest changes
The release gate runs cargo fmt --check and these were hand-written. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
9abf9072a3
commit
1929f6a870
@@ -1725,10 +1725,9 @@ app:
|
||||
|
||||
#[test]
|
||||
fn an_explicit_session_declaration_is_actionable() {
|
||||
let manifest = manifest_with_port(
|
||||
" - host: 8080\n container: 80\n auth: session\n",
|
||||
)
|
||||
.unwrap();
|
||||
let manifest =
|
||||
manifest_with_port(" - host: 8080\n container: 80\n auth: session\n")
|
||||
.unwrap();
|
||||
let port = &manifest.app.ports[0];
|
||||
assert_eq!(port.auth_policy(), PortAuth::Session);
|
||||
assert!(port.auth_is_declared());
|
||||
@@ -1742,10 +1741,9 @@ app:
|
||||
/// wallet stops working.
|
||||
#[test]
|
||||
fn an_undeclared_wallet_port_is_never_actionable() {
|
||||
let manifest = manifest_with_port(
|
||||
" - host: 10009\n container: 10009\n protocol: tcp\n",
|
||||
)
|
||||
.unwrap();
|
||||
let manifest =
|
||||
manifest_with_port(" - host: 10009\n container: 10009\n protocol: tcp\n")
|
||||
.unwrap();
|
||||
let port = &manifest.app.ports[0];
|
||||
assert!(port.bind.is_empty(), "this is the shape that bit us");
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user