Fix clippy warning

This commit is contained in:
gwenn 2021-06-28 19:05:37 +02:00
parent c670b6d653
commit 0c348c9eb0

View File

@ -826,7 +826,7 @@ mod test {
assert_eq!("foo", op.table_name()); assert_eq!("foo", op.table_name());
assert_eq!(1, op.number_of_columns()); assert_eq!(1, op.number_of_columns());
assert_eq!(Action::SQLITE_INSERT, op.code()); assert_eq!(Action::SQLITE_INSERT, op.code());
assert_eq!(false, op.indirect()); assert!(!op.indirect());
let pk = item.pk()?; let pk = item.pk()?;
assert_eq!(&[1], pk); assert_eq!(&[1], pk);