From 6bfaf90fdf67197c511a7594b37d835e964edccd Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Thu, 22 Jun 2017 17:10:47 -0700 Subject: Implement Source for Vec and From for File --- tests/errors.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/errors.rs b/tests/errors.rs index fa3b5ca..835ead1 100644 --- a/tests/errors.rs +++ b/tests/errors.rs @@ -17,8 +17,7 @@ fn test_error_parse() { assert!(res.is_err()); assert_eq!(res.unwrap_err().to_string(), - "invalid number at line 2 in tests/Settings-invalid.toml" - .to_string()); + "invalid number at line 2 in tests/Settings-invalid.toml".to_string()); } #[test] @@ -42,6 +41,5 @@ fn test_error_type_detached() { assert!(res.is_err()); assert_eq!(res.unwrap_err().to_string(), - "invalid type: string \"fals\", expected a boolean" - .to_string()); + "invalid type: string \"fals\", expected a boolean".to_string()); } -- cgit v1.2.3