Skip to content

Commit ca562a0

Browse files
committed
fixed formatting
1 parent d71e238 commit ca562a0

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

src/tasks.rs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -753,13 +753,13 @@ mod test {
753753
#[test]
754754
fn test_deserialize_enqueued_task_with_remotes() {
755755
let json = r#"{
756-
"enqueuedAt": "2022-02-03T13:02:38.369634Z",
757-
"indexUid": "movies",
758-
"status": "enqueued",
759-
"type": "indexUpdate",
760-
"uid": 12,
761-
"remotes": { "ms-00": { "status": "ok" } }
762-
}"#;
756+
"enqueuedAt": "2022-02-03T13:02:38.369634Z",
757+
"indexUid": "movies",
758+
"status": "enqueued",
759+
"type": "indexUpdate",
760+
"uid": 12,
761+
"remotes": { "ms-00": { "status": "ok" } }
762+
}"#;
763763
let task: Task = serde_json::from_str(json).unwrap();
764764
match task {
765765
Task::Enqueued { content } => {
@@ -773,20 +773,20 @@ mod test {
773773
#[test]
774774
fn test_deserialize_processing_task_with_remotes() {
775775
let json = r#"{
776-
"details": {
777-
"indexedDocuments": null,
778-
"receivedDocuments": 10
779-
},
780-
"duration": null,
781-
"enqueuedAt": "2022-02-03T15:17:02.801341Z",
782-
"finishedAt": null,
783-
"indexUid": "movies",
784-
"startedAt": "2022-02-03T15:17:02.812338Z",
785-
"status": "processing",
786-
"type": "documentAdditionOrUpdate",
787-
"uid": 14,
788-
"remotes": { "ms-00": { "status": "ok" } }
789-
}"#;
776+
"details": {
777+
"indexedDocuments": null,
778+
"receivedDocuments": 10
779+
},
780+
"duration": null,
781+
"enqueuedAt": "2022-02-03T15:17:02.801341Z",
782+
"finishedAt": null,
783+
"indexUid": "movies",
784+
"startedAt": "2022-02-03T15:17:02.812338Z",
785+
"status": "processing",
786+
"type": "documentAdditionOrUpdate",
787+
"uid": 14,
788+
"remotes": { "ms-00": { "status": "ok" } }
789+
}"#;
790790
let task: Task = serde_json::from_str(json).unwrap();
791791
match task {
792792
Task::Processing { content } => {

0 commit comments

Comments
 (0)