Skip to content

Commit

Permalink
Add small clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BakerNet committed Mar 20, 2024
1 parent a43c020 commit 6c86177
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/uv-auth/src/middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ mod tests {
#[tokio::test]
async fn test_with_keyring_no_username() -> Result<(), Box<dyn std::error::Error>> {
let server = MockServer::start().await;
// this shouldn't save anything because there's no username in the URL
GLOBAL_AUTH_STORE.save_from_url(&Url::parse(&server.uri()).expect("valid URL"));

Mock::given(method("GET"))
Expand Down

0 comments on commit 6c86177

Please sign in to comment.