mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-10 11:10:26 +02:00
chore: remove quiz4
This commit is contained in:
parent
d3a335bc64
commit
7fc393bed4
@ -1,23 +0,0 @@
|
||||
// quiz4.rs
|
||||
// This quiz covers the sections:
|
||||
// - Modules
|
||||
// - Macros
|
||||
|
||||
// Write a macro that passes the quiz! No hints this time, you can do it!
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn test_my_macro_world() {
|
||||
assert_eq!(my_macro!("world!"), "Hello world!");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_my_macro_goodbye() {
|
||||
assert_eq!(my_macro!("goodbye!"), "Hello goodbye!");
|
||||
}
|
||||
}
|
@ -965,14 +965,6 @@ scratching the surface of what you can do with Rust's macros. For a more
|
||||
thorough introduction, you can have a read through the little book of Rust
|
||||
macros: https://veykril.github.io/tlborm/"""
|
||||
|
||||
# TEST 4
|
||||
|
||||
[[exercises]]
|
||||
name = "quiz4"
|
||||
path = "exercises/quiz4.rs"
|
||||
mode = "test"
|
||||
hint = "No hints this time ;)"
|
||||
|
||||
# CLIPPY
|
||||
|
||||
[[exercises]]
|
||||
|
Loading…
Reference in New Issue
Block a user