style: format Noise runtime tests

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
viyatb-oai
2026-06-09 17:46:32 -07:00
co-authored by Codex
parent 3b73c35e30
commit 247c10acd5
2 changed files with 3 additions and 6 deletions
@@ -82,8 +82,7 @@ async fn pending_harness_key_validation_does_not_block_new_handshakes() -> Resul
));
for stream_id in ["stream-1", "stream-2"] {
let prologue =
noise_channel_prologue(ENVIRONMENT_ID, EXECUTOR_REGISTRATION_ID, stream_id)?;
let prologue = noise_channel_prologue(ENVIRONMENT_ID, EXECUTOR_REGISTRATION_ID, stream_id)?;
let (_handshake, request) = InitiatorHandshake::start(
&harness_identity,
&environment_identity.public_key(),
@@ -141,10 +141,8 @@ async fn validate_harness_key_does_not_expose_error_body() {
#[test]
fn noise_environment_id_validation_rejects_path_injection() {
validate_environment_id(
"ccarenv_b64_Y2Fhcy1zdGFnaW5nLWV4ZWN1dG9yLWVudmlyb25tZW50LTE",
)
.expect("valid cloud environment id");
validate_environment_id("ccarenv_b64_Y2Fhcy1zdGFnaW5nLWV4ZWN1dG9yLWVudmlyb25tZW50LTE")
.expect("valid cloud environment id");
let error = validate_environment_id("ccarenv_b64_valid/../../status")
.expect_err("path delimiter must not reach an authenticated registry request");