Skip to content

Commit

Permalink
refactor: Remove println from propertytest function
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Dec 12, 2024
1 parent 65b0a70 commit f8389a5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/all/property_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ proptest! {
})]
#[test]
fn random_tables(mut table in table(), table_width in table_width()) {
println!("\n\n\n------ START TEST ------\n\n\n");
table.set_width(table_width);

// Make sure the table builds without any panics
Expand Down Expand Up @@ -314,9 +313,7 @@ fn enforce_constraints(
let constraints: Vec<Option<ColumnConstraint>> = table
.column_iter()
.map(|col| col.constraint().cloned())
.filter(|constraint| {
!matches!(constraint, Some(ColumnConstraint::Hidden))
})
.filter(|constraint| !matches!(constraint, Some(ColumnConstraint::Hidden)))
.collect();

let line_iter = lines.iter();
Expand Down

0 comments on commit f8389a5

Please sign in to comment.