integration testing 2
This commit is contained in:
parent
a3005ff146
commit
48f84b895b
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
#![reexport_test_harness_main = "test_main"]
|
||||
|
||||
use core::panic::PanicInfo;
|
||||
use totos::println;
|
||||
|
||||
#[unsafe(no_mangle)]
|
||||
pub extern "C" fn _start() -> ! {
|
||||
|
@ -17,3 +18,8 @@ pub extern "C" fn _start() -> ! {
|
|||
fn panic(info: &PanicInfo) -> ! {
|
||||
totos::test_panic_handler(info)
|
||||
}
|
||||
|
||||
#[test_case]
|
||||
fn test_println() {
|
||||
println!("test_println_output");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue