Try pretty_assertions
This commit is contained in:
parent
5fbc7b146a
commit
5a0f1d0fd1
@ -50,6 +50,7 @@ actix-rt = { version = "2.2.0" }
|
|||||||
maplit = { version = "^1" }
|
maplit = { version = "^1" }
|
||||||
rust_decimal_macros = { version = "^1" }
|
rust_decimal_macros = { version = "^1" }
|
||||||
sea-orm = { path = ".", features = ["debug-print"] }
|
sea-orm = { path = ".", features = ["debug-print"] }
|
||||||
|
pretty_assertions = { version = "^0.7" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
debug-print = []
|
debug-print = []
|
||||||
|
@ -107,6 +107,7 @@ where
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::{entity_to_table_create_statement, tests_cfg::*};
|
use crate::{entity_to_table_create_statement, tests_cfg::*};
|
||||||
|
use pretty_assertions::assert_eq;
|
||||||
use sea_query::*;
|
use sea_query::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
use pretty_assertions::assert_eq;
|
||||||
use sea_orm::{
|
use sea_orm::{
|
||||||
entity_to_table_create_statement, error::*, sea_query, DbConn, EntityTrait, ExecResult,
|
entity_to_table_create_statement, error::*, sea_query, DbConn, EntityTrait, ExecResult,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user