1 2 3 4 5 6 7 8 9 10 11 12
/// Equivalent to assert_eq! but with prettier output pub fn test_eq(actual: &str, expected: &str) { if actual != expected { panic!( "{}", format!("\nexpected:\n{:?}\nactual:\n{:?}\n", expected, actual) ); } } mod book; mod parser;