diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 282de92..aac5d4a 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -14,4 +14,4 @@ edition = "2018" linked-hash-map = ">=0.0.9, <0.6" [dev-dependencies] -quickcheck = "0.7" +quickcheck = "0.9" diff --git a/parser/tests/quickcheck.rs b/parser/tests/quickcheck.rs index c2c89bc..0efd679 100644 --- a/parser/tests/quickcheck.rs +++ b/parser/tests/quickcheck.rs @@ -3,7 +3,6 @@ extern crate yaml_rust; extern crate quickcheck; use quickcheck::TestResult; -use std::error::Error; use yaml_rust::{Yaml, YamlEmitter, YamlLoader}; quickcheck! { @@ -16,7 +15,7 @@ quickcheck! { } match YamlLoader::load_from_str(&out_str) { Ok(output) => TestResult::from_bool(output.len() == 1 && input == output[0]), - Err(err) => TestResult::error(err.description()), + Err(err) => TestResult::error(err.to_string()), } } }