Fix the versions up a bit to prevent breakage (#1602)

* Fix the versions up a bit to prevent breakage

* fix up the quickcheck test to not fail on parse error
This commit is contained in:
Jonathan Turner 2020-04-18 15:31:57 +12:00 committed by GitHub
parent 7974e09eeb
commit e5a79d09df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 277 additions and 217 deletions

485
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -871,9 +871,8 @@ mod tests {
fn quickcheck_parse(data: String) -> bool {
if let Ok(lite_pipeline) = nu_parser::lite_parse(&data, 0) {
let context = crate::context::Context::basic().unwrap();
nu_parser::classify_pipeline(&lite_pipeline, context.registry())
.failed
.is_none()
let _ = nu_parser::classify_pipeline(&lite_pipeline, context.registry());
true
} else {
false
}

View file

@ -15,7 +15,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.12.0" }
nu-source = { path = "../nu-source", version = "0.12.0" }
nu-errors = { path = "../nu-errors", version = "0.12.0" }
futures = { version = "0.3", features = ["compat", "io-compat"] }
surf = "2.0.0-alpha.0"
surf = "1.0.3"
url = "2.1.1"
[build-dependencies]

View file

@ -15,7 +15,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.12.0" }
nu-source = { path = "../nu-source", version = "0.12.0" }
nu-errors = { path = "../nu-errors", version = "0.12.0" }
futures = { version = "0.3", features = ["compat", "io-compat"] }
surf = "2.0.0-alpha.0"
surf = "1.0.3"
url = "2.1.1"
serde_json = "1.0.51"
base64 = "0.12.0"