cargo fmt
This commit is contained in:
parent
86f2d7e327
commit
2ccc8c527a
@ -1,6 +1,6 @@
|
|||||||
use crate::{
|
use crate::{
|
||||||
debug_print, error::*, DatabaseConnection, DbBackend, ExecResult, MockDatabase,
|
debug_print, error::*, DatabaseConnection, DbBackend, ExecResult, MockDatabase, QueryResult,
|
||||||
QueryResult, Statement, Transaction,
|
Statement, Transaction,
|
||||||
};
|
};
|
||||||
use std::fmt::Debug;
|
use std::fmt::Debug;
|
||||||
use std::sync::{
|
use std::sync::{
|
||||||
|
@ -438,14 +438,8 @@ mod tests {
|
|||||||
impl ActiveModelBehavior for ActiveModel {}
|
impl ActiveModelBehavior for ActiveModel {}
|
||||||
}
|
}
|
||||||
|
|
||||||
assert_eq!(
|
assert_eq!(hello::Column::One.def(), ColumnType::Integer.def());
|
||||||
hello::Column::One.def(),
|
assert_eq!(hello::Column::Two.def(), ColumnType::Integer.def().unique());
|
||||||
ColumnType::Integer.def()
|
|
||||||
);
|
|
||||||
assert_eq!(
|
|
||||||
hello::Column::Two.def(),
|
|
||||||
ColumnType::Integer.def().unique()
|
|
||||||
);
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
hello::Column::Three.def(),
|
hello::Column::Three.def(),
|
||||||
ColumnType::Integer.def().indexed()
|
ColumnType::Integer.def().indexed()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user