use super::*;

This commit is contained in:
Gwilym Kuiper 2021-08-16 21:20:52 +01:00
parent c8ac436b84
commit a7a1cb3ecd

View file

@ -72,6 +72,7 @@ fn alloc_error(layout: Layout) -> ! {
#[cfg(test)]
mod test {
use super::*;
use alloc::boxed::Box;
#[test_case]
@ -85,7 +86,7 @@ mod test {
let address = &*first_box as *const _ as usize;
assert!(
address >= super::EWRAM_START && address < super::EWRAM_END,
address >= EWRAM_START && address < EWRAM_END,
"ewram is located between 0x0200_0000 and 0x0204_0000, address was actually found to be {:#010X}",
address
);