File: tests.rs

package info (click to toggle)
rust-serial-test 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 145 bytes parent folder | download
1
2
3
4
5
6
7
8
use serial_test::local_serial_core;

#[test]
fn test_empty_serial_call() {
    local_serial_core("beta", || {
        println!("Bar");
    });
}