Correct CLI migration test expectations for source8
This commit is contained in:
@@ -7,7 +7,7 @@ use std::{
|
||||
collections::BTreeMap,
|
||||
fs,
|
||||
path::{Path, PathBuf},
|
||||
process::{Command, Output},
|
||||
process::{Command as ProcessCommand, Output},
|
||||
};
|
||||
#[path = "../../oa-core/src/language/analysis_source/model_oracle.rs"]
|
||||
mod independent_model;
|
||||
@@ -65,7 +65,7 @@ impl Fixture {
|
||||
}
|
||||
fn run(&self, options: &[&str]) -> Output {
|
||||
let before = self.inventory();
|
||||
let result = Command::new(env!("CARGO_BIN_EXE_arcadia"))
|
||||
let result = ProcessCommand::new(env!("CARGO_BIN_EXE_arcadia"))
|
||||
.arg("check-mixed")
|
||||
.arg(self.entry())
|
||||
.args(options)
|
||||
@@ -473,7 +473,7 @@ fn mixed_cli_direct_disk_error_uses_existing_operation_error_envelope() {
|
||||
f.put(".arcadia-save-reserved.arcadia", document(""));
|
||||
let before = f.inventory();
|
||||
let entry = f.0.join(".arcadia-save-reserved.arcadia");
|
||||
let output = Command::new(env!("CARGO_BIN_EXE_arcadia"))
|
||||
let output = ProcessCommand::new(env!("CARGO_BIN_EXE_arcadia"))
|
||||
.arg("check-mixed")
|
||||
.arg(&entry)
|
||||
.arg("--json")
|
||||
|
||||
Reference in New Issue
Block a user