Should be assert_eq! not assert_eq
This commit is contained in:
parent
9205d74fe0
commit
68ecfe0b61
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ extern crate adder;
|
|||
|
||||
#[test]
|
||||
fn it_works() {
|
||||
assert_eq(4, adder::add_two(2));
|
||||
assert_eq!(4, adder::add_two(2));
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue