mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 15:31:32 +03:00
compile error
This commit is contained in:
parent
7c957ced1b
commit
cec1145a85
@ -39,7 +39,8 @@ mod tests {
|
||||
let build_dir = PathBuf::from(BUILD_DIRECTORY);
|
||||
let home_dir = PathBuf::from(HOME_DIRECTORY);
|
||||
let mut retriever =
|
||||
Retriever::new(Symbol::intern("nested"), &build_dir, &home_dir).expect("Failed to build retriever");
|
||||
Retriever::new(Symbol::intern("nested"), &build_dir, &home_dir, "http://0.0.0.0:3030".to_string())
|
||||
.expect("Failed to build retriever");
|
||||
retriever.retrieve().expect("failed to retrieve");
|
||||
retriever.prepare_local(Symbol::intern("nested")).expect("failed to prepare local");
|
||||
retriever.process_local(Symbol::intern("nested"), true).expect("failed to process local");
|
||||
@ -57,7 +58,8 @@ mod tests {
|
||||
|
||||
println!("aleo_dir: {:?}", aleo_dir());
|
||||
let mut retriever =
|
||||
Retriever::new(Symbol::intern("nested"), &build_dir, &aleo_dir()).expect("Failed to build retriever");
|
||||
Retriever::new(Symbol::intern("nested"), &build_dir, &aleo_dir(), "http://0.0.0.0:3030".to_string())
|
||||
.expect("Failed to build retriever");
|
||||
retriever.retrieve().expect("failed to retrieve");
|
||||
retriever.prepare_local(Symbol::intern("nested")).expect("failed to prepare local");
|
||||
retriever.process_local(Symbol::intern("nested"), true).expect("failed to process local");
|
||||
@ -75,7 +77,8 @@ mod tests {
|
||||
let build_dir = PathBuf::from(BUILD_DIRECTORY);
|
||||
let home_dir = PathBuf::from(HOME_DIRECTORY);
|
||||
let mut retriever =
|
||||
Retriever::new(Symbol::intern("simple"), &build_dir, &home_dir).expect("Failed to build retriever");
|
||||
Retriever::new(Symbol::intern("simple"), &build_dir, &home_dir, "http://0.0.0.0:3030".to_string())
|
||||
.expect("Failed to build retriever");
|
||||
retriever.retrieve().expect("failed to retrieve");
|
||||
retriever.prepare_local(Symbol::intern("simple")).expect("failed to prepare local");
|
||||
retriever.process_local(Symbol::intern("simple"), true).expect("failed to process local");
|
||||
@ -93,7 +96,8 @@ mod tests {
|
||||
let build_dir = PathBuf::from(BUILD_DIRECTORY);
|
||||
let home_dir = PathBuf::from(HOME_DIRECTORY);
|
||||
let mut retriever =
|
||||
Retriever::new(Symbol::intern("local_test"), &build_dir, &home_dir).expect("Failed to build retriever");
|
||||
Retriever::new(Symbol::intern("local_test"), &build_dir, &home_dir, "http://0.0.0.0:3030".to_string())
|
||||
.expect("Failed to build retriever");
|
||||
let _deps = retriever.retrieve().expect("failed to retrieve");
|
||||
retriever.prepare_local(Symbol::intern("nested")).expect("failed to prepare local");
|
||||
// retriever.process_local(Symbol::intern("nested")).expect("failed to process local");
|
||||
|
Loading…
Reference in New Issue
Block a user