improvements and fixing of the tests

This commit is contained in:
filipriec
2025-06-20 19:59:42 +02:00
parent 8414657224
commit 8e22ea05ff
4 changed files with 87 additions and 42 deletions

View File

@@ -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.