Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SRetip committed Mar 20, 2024
1 parent 372c785 commit 43bbf05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions module/move/willbe/src/entity/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ mod private
{
fn fmt( &self, f : &mut Formatter< '_ >) -> std::fmt::Result
{
let features = if self.features.is_empty() { " ".to_string() } else { self.features.iter().join( ", " ) };
let features = if self.features.is_empty() { " ".to_string() } else { self.features.iter().join( " " ) };
writeln!( f, "{} {} {}", self.optimization, self.channel, features )?;
Ok( () )
}
Expand Down Expand Up @@ -146,6 +146,7 @@ mod private
{
writeln!( f, "Package : {}\nThe tests will be executed using the following configurations :", self.package.file_name().unwrap().to_string_lossy() )?;
let mut table = Table::new();
table.set_format( *prettytable::format::consts::FORMAT_NO_BORDER );
let mut all_features = BTreeSet::new();
for variant in &self.test_variants
{
Expand Down Expand Up @@ -489,6 +490,7 @@ mod private
return Ok( () )
}
let mut table = Table::new();
table.set_format( *prettytable::format::consts::FORMAT_NO_BORDER );
let mut all_features = BTreeSet::new();
for variant in self.tests.keys()
{
Expand Down Expand Up @@ -691,7 +693,7 @@ mod private
#[ cfg( feature = "progress_bar" ) ]
let _s =
{
let spinner = options.progress_bar_feature.as_ref().unwrap().multi_progress.add( ProgressBar::new_spinner().with_message( format!( "start : {}", variant ) ) );
let spinner = options.progress_bar_feature.as_ref().unwrap().multi_progress.add( ProgressBar::new_spinner().with_message( format!( "{}", variant ) ) );
spinner.enable_steady_tick( std::time::Duration::from_millis( 100 ) );
spinner
};
Expand Down

0 comments on commit 43bbf05

Please sign in to comment.