mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
12 lines
166 B
Rust
12 lines
166 B
Rust
|
use swc_timer::timer;
|
||
|
|
||
|
#[test]
|
||
|
fn logging() {
|
||
|
testing::run_test(false, |_, _| {
|
||
|
let _timer = timer!("operation");
|
||
|
|
||
|
Ok(())
|
||
|
})
|
||
|
.unwrap();
|
||
|
}
|