summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjay K <sanjaykdragon@users.noreply.github.com>2020-05-19 12:47:44 -0400
committerGitHub <noreply@github.com>2020-05-19 18:47:44 +0200
commit010a04569282149cea7f7a76fc4d7f4c9f0f08dd (patch)
treec1c563b177e1207be2225a70c67c5d0a4d0ccf15
parent51666609f1087231701c1dffe79420414f0beeb3 (diff)
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
-rw-r--r--README.md2
-rw-r--r--exercises/quiz1.rs (renamed from exercises/test1.rs)4
-rw-r--r--exercises/quiz2.rs (renamed from exercises/test2.rs)4
-rw-r--r--exercises/quiz3.rs (renamed from exercises/test3.rs)6
-rw-r--r--exercises/quiz4.rs (renamed from exercises/test4.rs)6
-rw-r--r--info.toml18
6 files changed, 20 insertions, 20 deletions
diff --git a/README.md b/README.md
index db20330..c5d399e 100644
--- a/README.md
+++ b/README.md
@@ -99,7 +99,7 @@ rustlings hint myExercise1
## Testing yourself
-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`.
+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`.
## Completion
diff --git a/exercises/test1.rs b/exercises/quiz1.rs
index 8b5b8fd..5c5c355 100644
--- a/exercises/test1.rs
+++ b/exercises/quiz1.rs
@@ -1,5 +1,5 @@
-// test1.rs
-// This is a test for the following sections:
+// quiz1.rs
+// This is a quiz for the following sections:
// - Variables
// - Functions
diff --git a/exercises/test2.rs b/exercises/quiz2.rs
index acdcb95..8caeaa9 100644
--- a/exercises/test2.rs
+++ b/exercises/quiz2.rs
@@ -1,5 +1,5 @@
-// test2.rs
-// This is a test for the following sections:
+// quiz2.rs
+// This is a quiz for the following sections:
// - Strings
// Ok, here are a bunch of values-- some are `String`s, some are `&str`s. Your
diff --git a/exercises/test3.rs b/exercises/quiz3.rs
index f94c36f..30596b9 100644
--- a/exercises/test3.rs
+++ b/exercises/quiz3.rs
@@ -1,8 +1,8 @@
-// test3.rs
-// This is a test for the following sections:
+// quiz.rs
+// This is a quiz for the following sections:
// - Tests
-// This test isn't testing our function -- make it do that in such a way that
+// This quiz isn't testing our function -- make it do that in such a way that
// the test passes. Then write a second test that tests that we get the result
// we expect to get when we call `times_two` with a negative number.
// No hints, you can do this :)
diff --git a/exercises/test4.rs b/exercises/quiz4.rs
index ad1f6ac..6c47480 100644
--- a/exercises/test4.rs
+++ b/exercises/quiz4.rs
@@ -1,9 +1,9 @@
-// test4.rs
-// This test covers the sections:
+// quiz4.rs
+// This quiz covers the sections:
// - Modules
// - Macros
-// Write a macro that passes the test! No hints this time, you can do it!
+// Write a macro that passes the quiz! No hints this time, you can do it!
// I AM NOT DONE
diff --git a/info.toml b/info.toml
index 7858d7c..e2aa82a 100644
--- a/info.toml
+++ b/info.toml
@@ -149,8 +149,8 @@ They are not the same. There are two solutions:
# TEST 1
[[exercises]]
-name = "test1"
-path = "exercises/test1.rs"
+name = "quiz1"
+path = "exercises/quiz1.rs"
mode = "test"
hint = "No hints this time ;)"
@@ -280,8 +280,8 @@ string slice instead of a `String`, wouldn't it?? There is a way to add one char
# TEST 2
[[exercises]]
-name = "test2"
-path = "exercises/test2.rs"
+name = "quiz2"
+path = "exercises/quiz2.rs"
mode = "compile"
hint = "No hints this time ;)"
@@ -311,7 +311,7 @@ hint = "No hints this time ;)"
# TESTS
[[exercises]]
-name = "tests1"
+name = "quiz1"
path = "exercises/tests/tests1.rs"
mode = "test"
hint = """
@@ -343,8 +343,8 @@ can negate the result of what you're doing using `!`, like `assert!(!having_fun(
# TEST 3
[[exercises]]
-name = "test3"
-path = "exercises/test3.rs"
+name = "quiz3"
+path = "exercises/quiz3.rs"
mode = "test"
hint = "No hints this time ;)"
@@ -414,8 +414,8 @@ The way macros are written, it wants to see something between each
# TEST 4
[[exercises]]
-name = "test4"
-path = "exercises/test4.rs"
+name = "quiz4"
+path = "exercises/quiz4.rs"
mode = "test"
hint = "No hints this time ;)"