mirror of
https://github.com/starship/starship.git
synced 2024-12-14 03:00:53 +01:00
fix clippy error
This commit is contained in:
parent
97b66c75ff
commit
371ae3895b
@ -133,6 +133,7 @@ pub fn get_conditional_style<'a>(
|
|||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::context::{Context, Shell, Target};
|
use crate::context::{Context, Shell, Target};
|
||||||
|
use crate::context_env::Env;
|
||||||
use crate::serde_utils::ValueDeserializer;
|
use crate::serde_utils::ValueDeserializer;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
||||||
@ -143,6 +144,7 @@ mod tests {
|
|||||||
Target::Main,
|
Target::Main,
|
||||||
PathBuf::new(),
|
PathBuf::new(),
|
||||||
PathBuf::new(),
|
PathBuf::new(),
|
||||||
|
Env::default()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user