Skip to content

Commit 87ab9ba

Browse files
committed
fix fmt check
1 parent 45d3f4b commit 87ab9ba

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

src/dialog/tests/test_dialog_layer.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ async fn create_test_endpoint() -> crate::Result<crate::transaction::endpoint::E
2525
}
2626

2727
/// Test helper to create mock INVITE request
28-
fn create_invite_request(local_tag: &str, remote_tag: &str, call_id: &str, branch: &str) -> Request {
28+
fn create_invite_request(
29+
local_tag: &str,
30+
remote_tag: &str,
31+
call_id: &str,
32+
branch: &str,
33+
) -> Request {
2934
Request {
3035
method: rsip::Method::Invite,
3136
uri: rsip::Uri::try_from("sip:bob@example.com:5060").unwrap(),

src/dialog/tests/test_dialog_states.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ pub fn create_invite_request(local_tag: &str, remote_tag: &str, call_id: &str) -
3535
}
3636

3737
/// Test helper to create a mock response
38-
fn create_response(status: StatusCode, local_tag: &str, remote_tag: &str, call_id: &str) -> Response {
38+
fn create_response(
39+
status: StatusCode,
40+
local_tag: &str,
41+
remote_tag: &str,
42+
call_id: &str,
43+
) -> Response {
3944
let body = if status == StatusCode::OK {
4045
b"v=0\r\no=bob 2890844527 2890844528 IN IP4 host.biloxi.com\r\n".to_vec()
4146
} else {

0 commit comments

Comments
 (0)