1 2 3 4 5 6 7 8 9 10 11 12 13 14
/// Helper crate for konsti-bar pub fn helper_function() -> &'static str { "Hello from konsti-foo helper" } #[cfg(test)] mod tests { use super::*; #[test] fn test_helper() { assert_eq!(helper_function(), "Hello from konsti-foo helper"); } }