diff --git a/Cargo.toml b/Cargo.toml index 19a79f5e..e303dac6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,6 +50,7 @@ actix-rt = { version = "2.2.0" } maplit = { version = "^1" } rust_decimal_macros = { version = "^1" } sea-orm = { path = ".", features = ["debug-print"] } +pretty_assertions = { version = "^0.7" } [features] debug-print = [] diff --git a/src/entity/schema.rs b/src/entity/schema.rs index e743fae0..930ce6aa 100644 --- a/src/entity/schema.rs +++ b/src/entity/schema.rs @@ -107,6 +107,7 @@ where #[cfg(test)] mod tests { use crate::{entity_to_table_create_statement, tests_cfg::*}; + use pretty_assertions::assert_eq; use sea_query::*; #[test] diff --git a/tests/common/setup/schema.rs b/tests/common/setup/schema.rs index 4d461fd1..321d6512 100644 --- a/tests/common/setup/schema.rs +++ b/tests/common/setup/schema.rs @@ -1,3 +1,4 @@ +use pretty_assertions::assert_eq; use sea_orm::{ entity_to_table_create_statement, error::*, sea_query, DbConn, EntityTrait, ExecResult, };