improvements and fixing of the tests
This commit is contained in:
@@ -434,7 +434,7 @@ async fn test_long_identifier_length(#[future] pool: PgPool) {
|
||||
..Default::default()
|
||||
};
|
||||
let err = post_table_definition(&pool, req).await.unwrap_err();
|
||||
assert_eq!(err.code(), Code::Internal);
|
||||
assert_eq!(err.code(), Code::InvalidArgument);
|
||||
}
|
||||
|
||||
// 15) Decimal precision overflow must be caught by our parser.
|
||||
|
||||
Reference in New Issue
Block a user