You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see any issues with your code. Do you have your full code online somewhere so that I can take a look?
Could you try cloning the post-04 branch of this repo? When I put the code you posted above into the src/main.rs I get different output for cargo test --bin blog_os and cargo run:
Hello,
I'm following along the Testing part of the blog.
Unfortunately,
cargo run
andcargo test
yield the same result in QEMU.I have added a
#[cfg(test)]
before aprintln!
and it does not appear on the screen.Here is the code I have :
And here is the output :
Is there something I'm missing ?
The text was updated successfully, but these errors were encountered: