Should fail
This commit is contained in:
parent
fd50ffd5ea
commit
d5de8b1c48
@ -298,7 +298,8 @@ pub trait EntityTrait: EntityName {
|
|||||||
/// #
|
/// #
|
||||||
/// let insert_result = cake::Entity::insert(apple).exec(&db).await?;
|
/// let insert_result = cake::Entity::insert(apple).exec(&db).await?;
|
||||||
///
|
///
|
||||||
/// assert_eq!(insert_result.last_insert_id, 15);
|
/// assert_eq!(dbg!(insert_result.last_insert_id), 150);
|
||||||
|
/// assert!(false);
|
||||||
/// #
|
/// #
|
||||||
/// # Ok(())
|
/// # Ok(())
|
||||||
/// # });
|
/// # });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user