2018-02-22 00:09:53 -06:00
|
|
|
// tests2.rs
|
2015-09-20 17:31:41 -05:00
|
|
|
// This test has a problem with it -- make the test compile! Make the test
|
2022-07-14 11:15:47 -05:00
|
|
|
// pass! Make the test fail!
|
|
|
|
// Execute `rustlings hint tests2` or use the `hint` watch subcommand for a hint.
|
2015-09-20 17:31:41 -05:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
mod tests {
|
|
|
|
#[test]
|
|
|
|
fn you_can_assert_eq() {
|
2023-02-28 12:45:05 -06:00
|
|
|
assert_eq!(1 + 1, 2);
|
2015-09-20 17:31:41 -05:00
|
|
|
}
|
|
|
|
}
|