diff options
| author | liv <mokou@fastmail.com> | 2023-09-06 09:31:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-06 09:31:46 +0200 |
| commit | 4d04aad8902262d73d05b066ef0b8ffcd4fb634d (patch) | |
| tree | 31c90ca2ff727980780e5c29882ca17c53109f16 /exercises/threads/threads3.rs | |
| parent | 847b57423f2a2500b666ec0085cbd897b7b7139f (diff) | |
| parent | 193b600382ead22a24d2c26ca3a9117e7ad18be8 (diff) | |
Merge pull request #1641 from mo8it/move-semantics5-test
Convert exercises with assertions to tests
Diffstat (limited to 'exercises/threads/threads3.rs')
| -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(); |
