diff options
author | Ryan Leckey <ryan@launchbadge.com> | 2017-06-22 17:10:47 -0700 |
---|---|---|
committer | Ryan Leckey <ryan@launchbadge.com> | 2017-06-22 17:10:47 -0700 |
commit | 6bfaf90fdf67197c511a7594b37d835e964edccd (patch) | |
tree | aedca78e59887c30bd2e34626b06f24f29de0d81 /tests/errors.rs | |
parent | 159bb52c595384fed44a2c669198d50f2a758a9a (diff) |
Implement Source for Vec<T: Source> and From<Path> for File
Diffstat (limited to 'tests/errors.rs')
-rw-r--r-- | tests/errors.rs | 6 |
1 files changed, 2 insertions, 4 deletions
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()); } |