File: tests.rs

package info (click to toggle)
rust-serial-test 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 157 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(vec!["beta"], None, || {
        println!("Bar");
    });
}