Should fail

This commit is contained in:
Billy Chan 2021-11-16 15:38:22 +08:00
parent fd50ffd5ea
commit d5de8b1c48
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -298,7 +298,8 @@ pub trait EntityTrait: EntityName {
/// #
/// 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(())
/// # });