Skip to content

Commit

Permalink
fix create_calayer test
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopengli89 committed May 6, 2024
1 parent 3925448 commit 4aeb2cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cocoa/src/quartzcore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1685,6 +1685,8 @@ mod test {

#[test]
fn create_calayer() {
let _ = CALayer::new();
objc::rc::autoreleasepool(|| {
let _ = CALayer::new();
});
}
}

0 comments on commit 4aeb2cd

Please sign in to comment.