diff options
author | Valerii Hiora <valerii.hiora@gmail.com> | 2015-01-07 18:58:50 +0200 |
---|---|---|
committer | Valerii Hiora <valerii.hiora@gmail.com> | 2015-01-08 19:50:03 +0200 |
commit | 1dfb94afba78d8f796e59756d4c5b45a4f5ce5df (patch) | |
tree | b411c536a294f695c5c4e8eff3cd87bdbf19034e /src/test | |
parent | 6195861f53c6731bedce5900a624986b8d4247c8 (diff) | |
download | milf-rs-1dfb94afba78d8f796e59756d4c5b45a4f5ce5df.tar.gz milf-rs-1dfb94afba78d8f796e59756d4c5b45a4f5ce5df.zip |
Update to master
- features
- macro reform
- String/Show split in formatter
- staging
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/valid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/valid.rs b/src/test/valid.rs index 5d15739..289fa24 100644 --- a/src/test/valid.rs +++ b/src/test/valid.rs @@ -46,7 +46,7 @@ fn to_json(toml: Value) -> Json { fn run(toml: &str, json: &str) { let mut p = Parser::new(toml); let table = p.parse(); - assert!(p.errors.len() == 0, "had_errors: {}", + assert!(p.errors.len() == 0, "had_errors: {:?}", p.errors.iter().map(|e| { (e.desc.clone(), toml.slice(e.lo - 5, e.hi + 5)) }).collect::<Vec<(String, &str)>>()); |