Fix font test

This commit is contained in:
Emil Ernerfeldt
2019-01-14 07:54:27 -06:00
parent 2c0ca77e09
commit 4dab7a1504
+4 -2
View File
@@ -338,8 +338,10 @@ mod tests {
use super::*;
#[test]
fn font_test() {
let font = Font::new(13);
let atlas = TextureAtlas::new(128, 8);
let atlas = Arc::new(Mutex::new(atlas));
let font_data = include_bytes!("../fonts/Roboto-Regular.ttf");
let font = Font::new(atlas, font_data, 13);
font.debug_print_all_chars();
panic!();
}
}