mirror of
https://github.com/AleoHQ/leo.git
synced 2024-09-11 15:05:33 +03:00
CLI fix
This commit is contained in:
parent
902387d639
commit
28dae76945
25
Cargo.lock
generated
25
Cargo.lock
generated
@ -1497,6 +1497,7 @@ dependencies = [
|
||||
"rand",
|
||||
"rand_chacha",
|
||||
"rand_core",
|
||||
"reqwest",
|
||||
"retriever",
|
||||
"rusty-hook",
|
||||
"self_update 0.39.0",
|
||||
@ -1671,6 +1672,16 @@ version = "0.3.17"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
|
||||
|
||||
[[package]]
|
||||
name = "mime_guess"
|
||||
version = "2.0.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef"
|
||||
dependencies = [
|
||||
"mime",
|
||||
"unicase",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "minimal-lexical"
|
||||
version = "0.2.1"
|
||||
@ -2212,6 +2223,7 @@ dependencies = [
|
||||
"js-sys",
|
||||
"log",
|
||||
"mime",
|
||||
"mime_guess",
|
||||
"native-tls",
|
||||
"once_cell",
|
||||
"percent-encoding",
|
||||
@ -2538,8 +2550,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "91d129178576168c589c9ec973feedf7d3126c01ac2bf08795109aa35b69fb8f"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote 1.0.33",
|
||||
"syn 2.0.39",
|
||||
"quote 1.0.35",
|
||||
"syn 2.0.46",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -3874,6 +3886,15 @@ version = "1.17.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
|
||||
|
||||
[[package]]
|
||||
name = "unicase"
|
||||
version = "2.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
|
||||
dependencies = [
|
||||
"version_check",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unicode-bidi"
|
||||
version = "0.3.13"
|
||||
|
@ -39,7 +39,7 @@ pub mod mode;
|
||||
pub use mode::*;
|
||||
|
||||
use crate::{Block, FunctionStub, Identifier, Node, NodeID, TupleType, Type};
|
||||
use leo_span::{sym, Span, Symbol};
|
||||
use leo_span::{Span, Symbol};
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::fmt;
|
||||
|
@ -149,9 +149,11 @@ mod tests {
|
||||
CLI,
|
||||
};
|
||||
use leo_span::symbol::create_session_if_not_set_then;
|
||||
use serial_test::serial;
|
||||
use std::env::temp_dir;
|
||||
|
||||
#[test]
|
||||
#[serial]
|
||||
fn nested_network_dependency_run_test() {
|
||||
// Set current directory to temporary directory
|
||||
let temp_dir = temp_dir();
|
||||
@ -186,6 +188,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[serial]
|
||||
fn nested_local_dependency_run_test() {
|
||||
// Set current directory to temporary directory
|
||||
let temp_dir = temp_dir();
|
||||
|
Loading…
Reference in New Issue
Block a user