diff options
| author | Mike English <mike.english@atomicobject.com> | 2015-01-10 01:52:51 -0500 |
|---|---|---|
| committer | Mike English <mike.english@atomicobject.com> | 2015-01-10 01:52:51 -0500 |
| commit | 68ecfe0b61d85f4afbe5a25bcfc74cacdcb3ad47 (patch) | |
| tree | 828bdd8bff4a028ec440e43e7f77a99063a53175 | |
| parent | 9205d74fe0eed9ed1fee4d408e4bc99b7c4e0d58 (diff) | |
| download | rust-68ecfe0b61d85f4afbe5a25bcfc74cacdcb3ad47.tar.gz rust-68ecfe0b61d85f4afbe5a25bcfc74cacdcb3ad47.zip | |
Should be `assert_eq!` not `assert_eq`
| -rw-r--r-- | src/doc/trpl/testing.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/testing.md b/src/doc/trpl/testing.md index 791a90bdf9b..66da6395a5e 100644 --- a/src/doc/trpl/testing.md +++ b/src/doc/trpl/testing.md @@ -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)); } ``` |
