initial commit
This commit is contained in:
14
exercises/05_ticket_v2/00_intro/src/lib.rs
Normal file
14
exercises/05_ticket_v2/00_intro/src/lib.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
fn intro() -> &'static str {
|
||||
// TODO: fix me 👇
|
||||
"I'm ready to __!"
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::intro;
|
||||
|
||||
#[test]
|
||||
fn test_intro() {
|
||||
assert_eq!(intro(), "I'm ready to refine the `Ticket` type!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user