()
| 677 | } |
| 678 | |
| 679 | func rawDocWithSyncMeta() []byte { |
| 680 | |
| 681 | return []byte(` |
| 682 | { |
| 683 | "_sync": { |
| 684 | "rev": "1-ca9ad22802b66f662ff171f226211d5c", |
| 685 | "sequence": 1, |
| 686 | "recent_sequences": [ |
| 687 | 1 |
| 688 | ], |
| 689 | "history": { |
| 690 | "revs": [ |
| 691 | "1-ca9ad22802b66f662ff171f226211d5c" |
| 692 | ], |
| 693 | "parents": [ |
| 694 | -1 |
| 695 | ], |
| 696 | "channels": [ |
| 697 | null |
| 698 | ] |
| 699 | }, |
| 700 | "cas": "", |
| 701 | "time_saved": "2017-11-29T12:46:13.456631-08:00" |
| 702 | }, |
| 703 | "field": "value" |
| 704 | } |
| 705 | `) |
| 706 | |
| 707 | } |
| 708 | |
| 709 | // Invokes db.importDoc() with a null document body |
| 710 | // Reproduces https://github.com/couchbase/sync_gateway/issues/3774 |
no outgoing calls
no test coverage detected