summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRyan Leckey <ryan@launchbadge.com>2017-06-22 17:10:47 -0700
committerRyan Leckey <ryan@launchbadge.com>2017-06-22 17:10:47 -0700
commit6bfaf90fdf67197c511a7594b37d835e964edccd (patch)
treeaedca78e59887c30bd2e34626b06f24f29de0d81 /tests
parent159bb52c595384fed44a2c669198d50f2a758a9a (diff)
Implement Source for Vec<T: Source> and From<Path> for File
Diffstat (limited to 'tests')
-rw-r--r--tests/errors.rs6
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());
}