mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add missing imports
This commit is contained in:
@@ -727,6 +727,8 @@ We can now add tests to our `basic_boot.rs`. For example, we can test that `prin
|
|||||||
```rust
|
```rust
|
||||||
// in tests/basic_boot.rs
|
// in tests/basic_boot.rs
|
||||||
|
|
||||||
|
use blog_os::{println, serial_print, serial_println};
|
||||||
|
|
||||||
#[test_case]
|
#[test_case]
|
||||||
fn test_println() {
|
fn test_println() {
|
||||||
serial_print!("test_println... ");
|
serial_print!("test_println... ");
|
||||||
|
|||||||
Reference in New Issue
Block a user