fix: small changes

This commit is contained in:
Jindřich Moravec 2024-01-25 23:23:18 +01:00
parent 88fb13325a
commit 4fca7ce12b
3 changed files with 8 additions and 4 deletions

View file

@ -166,7 +166,6 @@ impl State {
mod tests {
use super::*;
use std::collections::HashSet;
use std::ops::Deref;
fn users_schema() -> TableSchema {
let id: ColumnPosition = 0;
@ -215,7 +214,7 @@ mod tests {
.interpret(Operation::Select(users.clone(), ColumnSelection::All, None))
.unwrap();
assert!(matches!(response, Response::Selected(_, _)));
let Response::Selected(schema, rows) = response else {
let Response::Selected(_schema, rows) = response else {
panic!()
};
@ -269,7 +268,7 @@ mod tests {
.unwrap();
assert!(matches!(response, Response::Selected(_, _)));
let Response::Selected(schema, rows) = response else {
let Response::Selected(_schema, rows) = response else {
panic!()
};