100-exercises-to-learn-rust/exercises/03_ticket_v1/00_intro/src/lib.rs

15 lines
250 B
Rust

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 start modelling a software ticket!");
}
}