We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 293fdc3 commit 90f49a8Copy full SHA for 90f49a8
src/test/bulk_write.rs
@@ -535,7 +535,7 @@ async fn too_large_client_error() {
535
.build();
536
537
let error = client.bulk_write(vec![model]).await.unwrap_err();
538
- assert!(!error.is_server_error());
+ assert!(error.is_invalid_argument());
539
540
// Case 2: namespace too large
541
let model = InsertOneModel::builder()
@@ -544,7 +544,7 @@ async fn too_large_client_error() {
544
545
546
547
548
}
549
550
// CRUD prose test 13
0 commit comments