diff options
| author | bors <bors@rust-lang.org> | 2015-01-10 14:15:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-10 14:15:12 +0000 |
| commit | 3b03c20c6ddaee5ba8b9797e988af1be42d612e2 (patch) | |
| tree | aa755df6ce30d7ea36977dc59561b382ce33a03e /src | |
| parent | 52e5ae786d799afb60340b64b937d14d0528ad2e (diff) | |
| parent | 68ecfe0b61d85f4afbe5a25bcfc74cacdcb3ad47 (diff) | |
Merge pull request #20851 from englishm/patch-1
Docs: Should be `assert_eq!` not `assert_eq` Reviewed-by: sfackler
Diffstat (limited to 'src')
| -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)); } ``` |
