diff options
| author | petrochenkov <vadim.petrochenkov@gmail.com> | 2015-06-07 21:00:38 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2015-06-13 14:55:55 +0300 |
| commit | bddb685e7322c8ffb9578ae9e5a3a161071b257b (patch) | |
| tree | f5621b38096baba4f3c3e9f0d08881b6ca21015e /src/test/rustdoc | |
| parent | a9f1e29c4ef68d09f3a926462e4be946d0749042 (diff) | |
| download | rust-bddb685e7322c8ffb9578ae9e5a3a161071b257b.tar.gz rust-bddb685e7322c8ffb9578ae9e5a3a161071b257b.zip | |
Use `assert_eq!` instead of `assert!` in tests
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/hidden-line.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/hidden-line.rs b/src/test/rustdoc/hidden-line.rs index bb9eec793df..af67f7e2c1f 100644 --- a/src/test/rustdoc/hidden-line.rs +++ b/src/test/rustdoc/hidden-line.rs @@ -22,7 +22,7 @@ /// /// fn test() { /// let x = Bar(Foo); -/// assert!(x == x); // check that the derivings worked +/// assert_eq!(x, x); // check that the derivings worked /// } /// /// } |
