Skip to content

Commit 3464d03

Browse files
committed
RUST-1663: Add comment
1 parent a6dcd29 commit 3464d03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/spec/oidc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ async fn machine_single_principal_implicit_username() -> anyhow::Result<()> {
3030
return Ok(());
3131
}
3232

33+
// we need to assert that the callback is only called once
3334
let call_count = Arc::new(Mutex::new(0));
3435
let cb_call_count = call_count.clone();
3536

@@ -71,6 +72,7 @@ async fn human_single_principal_implicit_username() -> anyhow::Result<()> {
7172
return Ok(());
7273
}
7374

75+
// we need to assert that the callback is only called once
7476
let call_count = Arc::new(Mutex::new(0));
7577
let cb_call_count = call_count.clone();
7678

0 commit comments

Comments
 (0)