fix test_load_rom_ibm_logo

This commit is contained in:
Denis-Cosmin Nutiu 2025-01-07 15:18:20 +02:00
parent 89056dc031
commit 14cbf155fc

View file

@ -501,7 +501,7 @@ mod tests {
#[test] #[test]
fn test_load_rom_ibm_logo() { fn test_load_rom_ibm_logo() {
// Setup // Setup
let mut file = File::open("../../roms/ibm-logo.ch8").expect("Failed to test open ROM"); let mut file = File::open("../roms/ibm-logo.ch8").expect("Failed to test open ROM");
let mut rom_file_data: [u8; 132] = [0; 132]; let mut rom_file_data: [u8; 132] = [0; 132];
file.read(&mut rom_file_data) file.read(&mut rom_file_data)
.expect("Failed to read test ROM"); .expect("Failed to read test ROM");