Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushAgrawal-A2 committed Jan 3, 2025
1 parent 780ebb0 commit 2b4ea8a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions quadratic-core/src/controller/execution/run_code/get_cells.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,31 +514,31 @@ mod test {
let result = gc
.calculation_get_cells_a1(transaction_id.to_string(), "B:".to_string(), None)
.unwrap();
assert_eq!(result.two_dimensional, true);
assert!(result.two_dimensional);

let result = gc
.calculation_get_cells_a1(transaction_id.to_string(), "B".to_string(), None)
.unwrap();
assert_eq!(result.two_dimensional, false);
assert!(!result.two_dimensional);

let result = gc
.calculation_get_cells_a1(transaction_id.to_string(), "2:".to_string(), None)
.unwrap();
assert_eq!(result.two_dimensional, true);
assert!(result.two_dimensional);

let result = gc
.calculation_get_cells_a1(transaction_id.to_string(), "2".to_string(), None)
.unwrap();
assert_eq!(result.two_dimensional, false);
assert!(!result.two_dimensional);

let result = gc
.calculation_get_cells_a1(transaction_id.to_string(), "D5:E5".to_string(), None)
.unwrap();
assert_eq!(result.two_dimensional, false);
assert!(!result.two_dimensional);

let result = gc
.calculation_get_cells_a1(transaction_id.to_string(), "D5:".to_string(), None)
.unwrap();
assert_eq!(result.two_dimensional, true);
assert!(result.two_dimensional);
}
}

0 comments on commit 2b4ea8a

Please sign in to comment.