File: tokio.rs

package info (click to toggle)
rust-test-with 0.15.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 512 kB
  • sloc: makefile: 2
file content (13 lines) | stat: -rw-r--r-- 185 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
use tokio;

#[tokio::main]
async fn main() {}

#[cfg(test)]
mod tokio_tests {
    #[test_with::env(NOTHING)]
    #[tokio::test]
    async fn my_test() {
        assert!(false);
    }
}