diff options
| author | Robert Fry <inbox@robertfry.xyz> | 2023-05-29 18:39:08 +0100 |
|---|---|---|
| committer | Robert Fry <inbox@robertfry.xyz> | 2023-05-29 18:41:51 +0100 |
| commit | 7eef5d15eef780f93e22b1b4e0185f7708219ea0 (patch) | |
| tree | 6c1f97594a23ba1eb870435ba1e81a652241db04 /exercises/tests | |
| parent | 30291a3c253f08a4191cfd544ba36867612ebb7a (diff) | |
docs: cleanup the explanation paragraphs at the start of each exercise.
Diffstat (limited to 'exercises/tests')
| -rw-r--r-- | exercises/tests/tests1.rs | 17 | ||||
| -rw-r--r-- | exercises/tests/tests2.rs | 9 | ||||
| -rw-r--r-- | exercises/tests/tests3.rs | 9 | ||||
| -rw-r--r-- | exercises/tests/tests4.rs | 5 |
4 files changed, 26 insertions, 14 deletions
diff --git a/exercises/tests/tests1.rs b/exercises/tests/tests1.rs index 8b6ea37..810277a 100644 --- a/exercises/tests/tests1.rs +++ b/exercises/tests/tests1.rs @@ -1,11 +1,14 @@ // tests1.rs -// Tests are important to ensure that your code does what you think it should do. -// Tests can be run on this file with the following command: -// rustlings run tests1 - -// This test has a problem with it -- make the test compile! Make the test -// pass! Make the test fail! -// Execute `rustlings hint tests1` or use the `hint` watch subcommand for a hint. +// +// Tests are important to ensure that your code does what you think it should +// do. Tests can be run on this file with the following command: rustlings run +// tests1 +// +// This test has a problem with it -- make the test compile! Make the test pass! +// Make the test fail! +// +// Execute `rustlings hint tests1` or use the `hint` watch subcommand for a +// hint. // I AM NOT DONE diff --git a/exercises/tests/tests2.rs b/exercises/tests/tests2.rs index a5ac15b..f8024e9 100644 --- a/exercises/tests/tests2.rs +++ b/exercises/tests/tests2.rs @@ -1,7 +1,10 @@ // tests2.rs -// This test has a problem with it -- make the test compile! Make the test -// pass! Make the test fail! -// Execute `rustlings hint tests2` or use the `hint` watch subcommand for a hint. +// +// This test has a problem with it -- make the test compile! Make the test pass! +// Make the test fail! +// +// Execute `rustlings hint tests2` or use the `hint` watch subcommand for a +// hint. // I AM NOT DONE diff --git a/exercises/tests/tests3.rs b/exercises/tests/tests3.rs index 196a81a..4013e38 100644 --- a/exercises/tests/tests3.rs +++ b/exercises/tests/tests3.rs @@ -1,8 +1,11 @@ // tests3.rs +// // This test isn't testing our function -- make it do that in such a way that -// the test passes. Then write a second test that tests whether we get the result -// we expect to get when we call `is_even(5)`. -// Execute `rustlings hint tests3` or use the `hint` watch subcommand for a hint. +// the test passes. Then write a second test that tests whether we get the +// result we expect to get when we call `is_even(5)`. +// +// Execute `rustlings hint tests3` or use the `hint` watch subcommand for a +// hint. // I AM NOT DONE diff --git a/exercises/tests/tests4.rs b/exercises/tests/tests4.rs index 1f34a2b..935d0db 100644 --- a/exercises/tests/tests4.rs +++ b/exercises/tests/tests4.rs @@ -1,6 +1,9 @@ // tests4.rs +// // Make sure that we're testing for the correct conditions! -// Execute `rustlings hint tests4` or use the `hint` watch subcommand for a hint. +// +// Execute `rustlings hint tests4` or use the `hint` watch subcommand for a +// hint. // I AM NOT DONE |
