Skip to content

Commit 016d718

Browse files
feat(tests): add hint comments
1 parent 98b8d3f commit 016d718

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

exercises/tests/tests1.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
// rustlings run tests1
55

66
// This test has a problem with it -- make the test compile! Make the test
7-
// pass! Make the test fail! Execute `rustlings hint tests1` for hints :)
7+
// pass! Make the test fail!
8+
// Execute `rustlings hint tests1` or use the `hint` watch subcommand for a hint.
89

910
// I AM NOT DONE
1011

exercises/tests/tests2.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// tests2.rs
22
// This test has a problem with it -- make the test compile! Make the test
3-
// pass! Make the test fail! Execute `rustlings hint tests2` for hints :)
3+
// pass! Make the test fail!
4+
// Execute `rustlings hint tests2` or use the `hint` watch subcommand for a hint.
45

56
// I AM NOT DONE
67

exercises/tests/tests3.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// This test isn't testing our function -- make it do that in such a way that
33
// the test passes. Then write a second test that tests whether we get the result
44
// we expect to get when we call `is_even(5)`.
5-
// Execute `rustlings hint tests3` for hints :)
5+
// Execute `rustlings hint tests3` or use the `hint` watch subcommand for a hint.
66

77
// I AM NOT DONE
88

0 commit comments

Comments
 (0)