chore: test comment readability improvements

Signed-off-by: Ryan Russell <git@ryanrussell.org>
This commit is contained in:
Ryan Russell 2022-06-27 17:58:11 -05:00
parent 9b660e1058
commit a626cf4c99
No known key found for this signature in database
GPG Key ID: 8A7DE15B3F4F5007
3 changed files with 3 additions and 3 deletions

View File

@ -625,7 +625,7 @@ async fn add_documents_no_index_creation() {
OffsetDateTime::parse(response["enqueuedAt"].as_str().unwrap(), &Rfc3339).unwrap(); OffsetDateTime::parse(response["enqueuedAt"].as_str().unwrap(), &Rfc3339).unwrap();
assert!(processed_at > enqueued_at); assert!(processed_at > enqueued_at);
// index was created, and primary key was infered. // index was created, and primary key was inferred.
let (response, code) = index.get().await; let (response, code) = index.get().await;
assert_eq!(code, 200); assert_eq!(code, 200);
assert_eq!(response["primaryKey"], "id"); assert_eq!(response["primaryKey"], "id");

View File

@ -1,4 +1,4 @@
// This modules contains all the test concerning search. Each particular feture of the search // This modules contains all the test concerning search. Each particular feature of the search
// should be tested in its own module to isolate tests and keep the tests readable. // should be tested in its own module to isolate tests and keep the tests readable.
mod errors; mod errors;

View File

@ -39,7 +39,7 @@ async fn get_task_status() {
index.wait_task(0).await; index.wait_task(0).await;
let (_response, code) = index.get_task(1).await; let (_response, code) = index.get_task(1).await;
assert_eq!(code, 200); assert_eq!(code, 200);
// TODO check resonse format, as per #48 // TODO check response format, as per #48
} }
#[actix_rt::test] #[actix_rt::test]