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 /info.toml | |
| parent | 16936d95d13df800f06c7af22069b5daf0c672e4 (diff) | |
Convert other exercises that have assertions to test mode
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -831,7 +831,7 @@ https://doc.rust-lang.org/stable/book/ch11-01-writing-tests.html#checking-for-pa [[exercises]] name = "iterators1" path = "exercises/iterators/iterators1.rs" -mode = "compile" +mode = "test" hint = """ Step 1: We need to apply something to the collection `my_fav_fruits` before we start to go through @@ -936,7 +936,7 @@ and try other types! [[exercises]] name = "rc1" path = "exercises/smart_pointers/rc1.rs" -mode = "compile" +mode = "test" hint = """ This is a straightforward exercise to use the Rc<T> type. Each Planet has ownership of the Sun, and uses Rc::clone() to increment the reference count of the Sun. @@ -1025,7 +1025,7 @@ what you've learned :)""" [[exercises]] name = "threads3" path = "exercises/threads/threads3.rs" -mode = "compile" +mode = "test" hint = """ An alternate way to handle concurrency between threads is to use a mpsc (multiple producer, single consumer) channel to communicate. |
