Skip to content

Commit c75059b

Browse files
lpcoxCopilot
andcommitted
fix: also remove orphaned clear_owner_type_cache_for_tests helper
Was only called by the test functions removed in the previous commit. Co-authored-by: Copilot <[email protected]>
1 parent 1419490 commit c75059b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • guards/github-guard/rust-guard/src/labels

guards/github-guard/rust-guard/src/labels/backend.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,12 +1195,6 @@ mod tests {
11951195

11961196
// --- Owner type (org vs user) tests ---
11971197

1198-
fn clear_owner_type_cache_for_tests() {
1199-
if let Ok(mut cache) = repo_owner_type_cache().lock() {
1200-
cache.clear();
1201-
}
1202-
}
1203-
12041198
#[test]
12051199
fn test_owner_type_from_repo_object_org() {
12061200
let item = serde_json::json!({

0 commit comments

Comments
 (0)