aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorValerii Hiora <valerii.hiora@gmail.com>2015-01-07 18:58:50 +0200
committerValerii Hiora <valerii.hiora@gmail.com>2015-01-08 19:50:03 +0200
commit1dfb94afba78d8f796e59756d4c5b45a4f5ce5df (patch)
treeb411c536a294f695c5c4e8eff3cd87bdbf19034e /src/test
parent6195861f53c6731bedce5900a624986b8d4247c8 (diff)
downloadmilf-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.rs2
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)>>());