Skip to content

Commit

Permalink
fix other lints to make the test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
stegaBOB committed Sep 29, 2022
1 parent 2dcf43d commit d6e43c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ pub struct WorkspaceConfig {
pub types: String,
}

#[derive(ArgEnum, Parser, Clone, PartialEq, Debug)]
#[derive(ArgEnum, Parser, Clone, PartialEq, Eq, Debug)]
pub enum BootstrapMode {
None,
Debian,
Expand Down
6 changes: 3 additions & 3 deletions cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ fn cd_member(cfg_override: &ConfigOverride, program_name: &str) -> Result<()> {
return Ok(());
}
}
return Err(anyhow!("{} is not part of the workspace", program_name,));
Err(anyhow!("{} is not part of the workspace", program_name,))
}

pub fn verify_bin(program_id: Pubkey, bin_path: &Path, cluster: &str) -> Result<BinVerification> {
Expand Down Expand Up @@ -1440,13 +1440,13 @@ pub fn verify_bin(program_id: Pubkey, bin_path: &Path, cluster: &str) -> Result<
Ok(BinVerification { state, is_verified })
}

#[derive(PartialEq)]
#[derive(PartialEq, Eq)]
pub struct BinVerification {
pub state: BinVerificationState,
pub is_verified: bool,
}

#[derive(PartialEq)]
#[derive(PartialEq, Eq)]
pub enum BinVerificationState {
Buffer,
ProgramData {
Expand Down

0 comments on commit d6e43c1

Please sign in to comment.