Skip to content

Commit 010a045

Browse files
feat: renames test to quiz, fixes #244
BREAKING CHANGE * changed test to quiz: fixes issues in #244 * fixed info.toml: #244 * fixed naming related issues
1 parent 5166660 commit 010a045

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ rustlings hint myExercise1
9999

100100
## Testing yourself
101101

102-
After every couple of sections, there will be a test that'll test your knowledge on a bunch of sections at once. These tests are found in `exercises/testN.rs`.
102+
After every couple of sections, there will be a quiz that'll test your knowledge on a bunch of sections at once. These quizzes are found in `exercises/quizN.rs`.
103103

104104
## Completion
105105

exercises/test1.rs renamed to exercises/quiz1.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// test1.rs
2-
// This is a test for the following sections:
1+
// quiz1.rs
2+
// This is a quiz for the following sections:
33
// - Variables
44
// - Functions
55

exercises/test2.rs renamed to exercises/quiz2.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// test2.rs
2-
// This is a test for the following sections:
1+
// quiz2.rs
2+
// This is a quiz for the following sections:
33
// - Strings
44

55
// Ok, here are a bunch of values-- some are `String`s, some are `&str`s. Your

exercises/test3.rs renamed to exercises/quiz3.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// test3.rs
2-
// This is a test for the following sections:
1+
// quiz.rs
2+
// This is a quiz for the following sections:
33
// - Tests
44

5-
// This test isn't testing our function -- make it do that in such a way that
5+
// This quiz isn't testing our function -- make it do that in such a way that
66
// the test passes. Then write a second test that tests that we get the result
77
// we expect to get when we call `times_two` with a negative number.
88
// No hints, you can do this :)

exercises/test4.rs renamed to exercises/quiz4.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// test4.rs
2-
// This test covers the sections:
1+
// quiz4.rs
2+
// This quiz covers the sections:
33
// - Modules
44
// - Macros
55

6-
// Write a macro that passes the test! No hints this time, you can do it!
6+
// Write a macro that passes the quiz! No hints this time, you can do it!
77

88
// I AM NOT DONE
99

info.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ They are not the same. There are two solutions:
149149
# TEST 1
150150

151151
[[exercises]]
152-
name = "test1"
153-
path = "exercises/test1.rs"
152+
name = "quiz1"
153+
path = "exercises/quiz1.rs"
154154
mode = "test"
155155
hint = "No hints this time ;)"
156156

@@ -280,8 +280,8 @@ string slice instead of a `String`, wouldn't it?? There is a way to add one char
280280
# TEST 2
281281

282282
[[exercises]]
283-
name = "test2"
284-
path = "exercises/test2.rs"
283+
name = "quiz2"
284+
path = "exercises/quiz2.rs"
285285
mode = "compile"
286286
hint = "No hints this time ;)"
287287

@@ -311,7 +311,7 @@ hint = "No hints this time ;)"
311311
# TESTS
312312

313313
[[exercises]]
314-
name = "tests1"
314+
name = "quiz1"
315315
path = "exercises/tests/tests1.rs"
316316
mode = "test"
317317
hint = """
@@ -343,8 +343,8 @@ can negate the result of what you're doing using `!`, like `assert!(!having_fun(
343343
# TEST 3
344344

345345
[[exercises]]
346-
name = "test3"
347-
path = "exercises/test3.rs"
346+
name = "quiz3"
347+
path = "exercises/quiz3.rs"
348348
mode = "test"
349349
hint = "No hints this time ;)"
350350

@@ -414,8 +414,8 @@ The way macros are written, it wants to see something between each
414414
# TEST 4
415415

416416
[[exercises]]
417-
name = "test4"
418-
path = "exercises/test4.rs"
417+
name = "quiz4"
418+
path = "exercises/quiz4.rs"
419419
mode = "test"
420420
hint = "No hints this time ;)"
421421

0 commit comments

Comments
 (0)