From bddb685e7322c8ffb9578ae9e5a3a161071b257b Mon Sep 17 00:00:00 2001 From: petrochenkov Date: Sun, 7 Jun 2015 21:00:38 +0300 Subject: Use `assert_eq!` instead of `assert!` in tests --- src/test/rustdoc/hidden-line.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/rustdoc') 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 /// } /// /// } -- cgit 1.4.1-3-g733a5