mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +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();
|
||
|
}
|