diff options
| author | mo8it <mo8it@proton.me> | 2023-08-27 01:06:01 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2023-08-27 01:06:01 +0200 |
| commit | 193b600382ead22a24d2c26ca3a9117e7ad18be8 (patch) | |
| tree | 7c72396c4bfe47697b74fc8fb05067f7c54ced90 /exercises/threads | |
| parent | 16936d95d13df800f06c7af22069b5daf0c672e4 (diff) | |
Convert other exercises that have assertions to test mode
Diffstat (limited to 'exercises/threads')
| -rw-r--r-- | exercises/threads/threads3.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exercises/threads/threads3.rs b/exercises/threads/threads3.rs index db7d41b..91006bb 100644 --- a/exercises/threads/threads3.rs +++ b/exercises/threads/threads3.rs @@ -48,6 +48,7 @@ fn send_tx(q: Queue, tx: mpsc::Sender<u32>) -> () { }); } +#[test] fn main() { let (tx, rx) = mpsc::channel(); let queue = Queue::new(); |
