fix: formatting

This commit is contained in:
Roman 2024-12-12 19:38:30 +08:00
parent f247140f9b
commit 7955fabd0d
No known key found for this signature in database
GPG Key ID: B8FE070B54E11B75
6 changed files with 10 additions and 13 deletions

View File

@ -2,7 +2,4 @@ use crate::node::NomosNode;
pub trait Cluster {
fn members(&self) -> Vec<Box<dyn NomosNode>>;
}

View File

@ -1,10 +1,9 @@
mod cluster;
mod node;
pub mod config;
mod node;
pub mod test_case;
pub trait TestCase {
fn name(&self) -> &'static str;
fn run(&self) -> Result<(), anyhow::Error>;
}

View File

@ -1,8 +1,10 @@
use nomos_cluster_tests::{config::{Config, LogArgs}, test_case::data_integrity_nodes_join_leave::DataIntegrityNodesJoinLeave, TestCase};
use clap::Parser;
use color_eyre::eyre::Result;
use nomos_cluster_tests::{
config::{Config, LogArgs},
test_case::data_integrity_nodes_join_leave::DataIntegrityNodesJoinLeave,
TestCase,
};
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]

View File

@ -1,4 +1,3 @@
pub trait NomosNode {
fn start(&self) -> String;
fn stop(&self) -> String;

View File

@ -1,5 +1,5 @@
use anyhow::Error;
use crate::TestCase;
use anyhow::Error;
pub struct DataIntegrityNodesJoinLeave;