diff --git a/tests/builder/double_require.rs b/tests/builder/double_require.rs index 166c0a7f..71a99947 100644 --- a/tests/builder/double_require.rs +++ b/tests/builder/double_require.rs @@ -68,7 +68,7 @@ fn help_text() { assert!(res.is_err()); let err = res.unwrap_err(); assert_eq!(err.kind, ErrorKind::DisplayHelp); - println!("{}", err.to_string()); + println!("{}", err); assert_eq!(err.to_string(), HELP); }