fix: small changes
This commit is contained in:
parent
88fb13325a
commit
4fca7ce12b
3 changed files with 8 additions and 4 deletions
|
|
@ -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!()
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue