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
This commit is contained in:
Sanjay K 2020-05-19 12:47:44 -04:00 committed by GitHub
parent 51666609f1
commit 010a045692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 20 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 :)

View File

@ -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

View File

@ -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 ;)"