docs: fix two typos

Comments in test code.
pull/24376/head
Dom Dwyer 2023-02-15 10:49:07 +01:00
parent dbe9219a8b
commit 5ca165b76e
No known key found for this signature in database
GPG Key ID: E4C40DBD9157879A
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ async fn test_namespace_delete() {
.expect("write failed");
assert_eq!(response.status(), StatusCode::NO_CONTENT);
// The RPC endpoint must not return the namespace.
// The RPC endpoint must return a namespace.
{
let current = ctx
.grpc_delegate()

View File

@ -284,7 +284,7 @@ mod tests {
retention_period_ns: Some(0), // A zero!
}))
.await
.expect("failed to create namespace")
.expect("failed to update namespace")
.into_inner()
.namespace
.expect("no namespace in response");