summaryrefslogtreecommitdiff
path: root/info.toml
diff options
context:
space:
mode:
authorliv <mokou@fastmail.com>2023-09-06 09:31:46 +0200
committerGitHub <noreply@github.com>2023-09-06 09:31:46 +0200
commit4d04aad8902262d73d05b066ef0b8ffcd4fb634d (patch)
tree31c90ca2ff727980780e5c29882ca17c53109f16 /info.toml
parent847b57423f2a2500b666ec0085cbd897b7b7139f (diff)
parent193b600382ead22a24d2c26ca3a9117e7ad18be8 (diff)
Merge pull request #1641 from mo8it/move-semantics5-test
Convert exercises with assertions to tests
Diffstat (limited to 'info.toml')
-rw-r--r--info.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/info.toml b/info.toml
index c84dfa5..9930917 100644
--- a/info.toml
+++ b/info.toml
@@ -337,7 +337,7 @@ So the end goal is to:
[[exercises]]
name = "move_semantics5"
path = "exercises/move_semantics/move_semantics5.rs"
-mode = "compile"
+mode = "test"
hint = """
Carefully reason about the range in which each mutable reference is in
scope. Does it help to update the value of referent (x) immediately after
@@ -827,7 +827,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
@@ -932,7 +932,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.
@@ -1021,7 +1021,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.