Skip to content

Commit 501e0d3

Browse files
committed
fix: suppress false dead code warning for make_request method
The make_request method is actually used by many tests across different modules, but the Rust compiler incorrectly flags it as unused. Added #[allow(dead_code)] to suppress this false warning.
1 parent e82acb3 commit 501e0d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

integration-tests/tests/common.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ validate_credentials = true
152152
}
153153
}
154154

155+
#[allow(dead_code)]
155156
pub async fn make_request(&self, query: &AgentQuery) -> String {
156157
let response = self.make_request_raw(query).await;
157158
let status = response.status();

0 commit comments

Comments
 (0)