Skip to content

Commit 68ecfe0

Browse files
committed
Should be assert_eq! not assert_eq
1 parent 9205d74 commit 68ecfe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ extern crate adder;
309309
310310
#[test]
311311
fn it_works() {
312-
assert_eq(4, adder::add_two(2));
312+
assert_eq!(4, adder::add_two(2));
313313
}
314314
```
315315

0 commit comments

Comments
 (0)