FIX: Make fmt happy

This commit is contained in:
Nicolás Hatcher
2025-08-09 10:29:39 +02:00
committed by Nicolás Hatcher Andrés
parent f581ce5570
commit f3f59dbda7
2 changed files with 5 additions and 2 deletions

View File

@@ -51,7 +51,10 @@ fn correct_parenthesis() {
assert_eq!(to_string(&t, &cell_reference), "1-(3+4)");
let t = parser.parse("-(1.05*(0.0284 + 0.0046) - 0.0284)", &cell_reference);
assert_eq!(to_string(&t, &cell_reference), "-(1.05*(0.0284+0.0046)-0.0284)");
assert_eq!(
to_string(&t, &cell_reference),
"-(1.05*(0.0284+0.0046)-0.0284)"
);
let t = parser.parse("1 + (3+5)", &cell_reference);
assert_eq!(to_string(&t, &cell_reference), "1+3+5");

View File

@@ -12,4 +12,4 @@ fn fn_round_approximation() {
assert_eq!(model._get_text("A1"), *"0.0063");
assert_eq!(model._get_text("A2"), *"0.00625");
}
}