Skip to content

Commit

Permalink
Remove redundant coretext test
Browse files Browse the repository at this point in the history
  • Loading branch information
osiewicz committed Jan 15, 2024
1 parent af16a7b commit 78f95f1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,18 +625,6 @@ pub fn get_font_properties() {
assert_eq!(properties.stretch, Stretch(1.0));
}

#[cfg(feature = "source")]
#[test]
pub fn get_font_data() {
let font = SystemSource::new()
.select_best_match(&[FamilyName::SansSerif], &Properties::new())
.unwrap()
.load()
.unwrap();
let data = font.copy_font_data().unwrap();
debug_assert!(SFNT_VERSIONS.iter().any(|version| data[0..4] == *version));
}

#[cfg(feature = "source")]
#[test]
pub fn load_font_table() {
Expand Down

0 comments on commit 78f95f1

Please sign in to comment.