syntactic changes: use assert_eq!() instead of assert!() for equality comparisons

This commit is contained in:
Jorge López
2025-01-18 18:37:50 +01:00
parent f160206cdd
commit 2cc8cb9ad8
9 changed files with 12 additions and 20 deletions

View File

@@ -83,7 +83,7 @@ impl ProgramBuilder {
let cursor = self.next_free_cursor_id;
self.next_free_cursor_id += 1;
self.cursor_ref.push((table_identifier, cursor_type));
assert!(self.cursor_ref.len() == self.next_free_cursor_id);
assert_eq!(self.cursor_ref.len(), self.next_free_cursor_id);
cursor
}