formatting (#1698)

This commit is contained in:
Aiden McClelland
2022-07-27 18:00:48 -06:00
committed by GitHub
parent d5f7e15dfb
commit 13b97296f5
27 changed files with 149 additions and 132 deletions

View File

@@ -5,7 +5,8 @@ use color_eyre::eyre::eyre;
use patch_db::DbHandle;
use rpc_toolkit::command;
use crate::{init::InitReceipts, Error};
use crate::init::InitReceipts;
use crate::Error;
mod v0_3_0;
mod v0_3_0_1;
@@ -198,9 +199,10 @@ pub fn git_info() -> Result<&'static str, Error> {
#[cfg(test)]
mod tests {
use super::*;
use proptest::prelude::*;
use super::*;
fn em_version() -> impl Strategy<Value = emver::Version> {
any::<(usize, usize, usize, usize)>().prop_map(|(major, minor, patch, super_minor)| {
emver::Version::new(major, minor, patch, super_minor)