More verbose erroring in test
This commit is contained in:
parent
5b82d53fd2
commit
6e56f469ae
1 changed files with 5 additions and 2 deletions
|
@ -267,8 +267,11 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_config() {
|
fn test_config() {
|
||||||
assert!(from_str::<Value>(&get_config()[..]).is_ok());
|
let val = from_str::<Value>(&get_config()[..]);
|
||||||
assert!(from_str::<Value>(&get_config_devel()[..]).is_ok());
|
assert!(val.is_ok(), "Config parsing errored: {:?}", val);
|
||||||
|
|
||||||
|
let val = from_str::<Value>(&get_config_devel()[..]);
|
||||||
|
assert!(val.is_ok(), "Config parsing errored: {:?}", val);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue