Skip to content

Commit 7568e1c

Browse files
author
Ehsan M. Kermani
committed
Fix style check
1 parent 7c3c0cb commit 7568e1c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

calculator/src/compiler/jit.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,7 @@ mod tests {
9393
assert_eq!(Jit::from_source("1 + 2").unwrap(), 3);
9494
assert_eq!(Jit::from_source("2 + (2 - 1)").unwrap(), 3);
9595
assert_eq!(Jit::from_source("(2 + 3) - 1").unwrap(), 4);
96-
assert_eq!(
97-
Jit::from_source("1 + ((2 + 3) - (2 + 3))").unwrap(),
98-
1
99-
);
96+
assert_eq!(Jit::from_source("1 + ((2 + 3) - (2 + 3))").unwrap(), 1);
10097
// parser fails
10198
// assert_eq!(Jit::from_source("2 + 3 - 1").unwrap(), 4);
10299
}

0 commit comments

Comments
 (0)