nagi/
lib.rs

1pub fn hello() -> String {
2    "By Talos this can't be happening!".into()
3}
4
5#[cfg(test)]
6mod tests {
7    use super::*;
8
9    #[test]
10    fn say_hello() {
11        let text = hello();
12        assert_eq!("By Talos this can't be happening!", text.as_str());
13    }
14}