aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-09 13:48:02 -0600
committerAlex Crichton <alex@alexcrichton.com>2015-01-09 13:48:02 -0600
commit98212466affbbe841ffea5bc88269732d9edd9f1 (patch)
tree14fb3a45662fdc0f88694c4f528b940fad091215 /src/test
parent35bd36cefd4e54ee965aede90702bb678435e573 (diff)
parent7a198086706ccd00c032eff07b9ec9b634c323ce (diff)
downloadmilf-rs-98212466affbbe841ffea5bc88269732d9edd9f1.tar.gz
milf-rs-98212466affbbe841ffea5bc88269732d9edd9f1.zip
Merge pull request #46 from vhbit/up-master
Update to master
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)>>());