mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-29 08:44:16 -05:00
feat(tests): add hint comments
This commit is contained in:
parent
98b8d3f17d
commit
016d718a28
3 changed files with 5 additions and 3 deletions
|
@ -4,7 +4,8 @@
|
||||||
// rustlings run tests1
|
// rustlings run tests1
|
||||||
|
|
||||||
// This test has a problem with it -- make the test compile! Make the test
|
// This test has a problem with it -- make the test compile! Make the test
|
||||||
// pass! Make the test fail! Execute `rustlings hint tests1` for hints :)
|
// pass! Make the test fail!
|
||||||
|
// Execute `rustlings hint tests1` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// tests2.rs
|
// tests2.rs
|
||||||
// This test has a problem with it -- make the test compile! Make the test
|
// This test has a problem with it -- make the test compile! Make the test
|
||||||
// pass! Make the test fail! Execute `rustlings hint tests2` for hints :)
|
// pass! Make the test fail!
|
||||||
|
// Execute `rustlings hint tests2` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// This test isn't testing our function -- make it do that in such a way that
|
// 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
|
// 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)`.
|
// we expect to get when we call `is_even(5)`.
|
||||||
// Execute `rustlings hint tests3` for hints :)
|
// Execute `rustlings hint tests3` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue