Commit 0cd76c56 authored by Tristan Cavelier's avatar Tristan Cavelier

reindent some lines

parent 11228d84
...@@ -1417,8 +1417,8 @@ test ("Remove", function(){ ...@@ -1417,8 +1417,8 @@ test ("Remove", function(){
o.jio.remove({"_id":"remove1.1-rev2/remove0","_rev":o.old_rev}, o.f); o.jio.remove({"_id":"remove1.1-rev2/remove0","_rev":o.old_rev}, o.f);
o.tick(o); o.tick(o);
o.revisions = {"start": 2, "ids":[o.old_rev.split('-')[1], o.revisions = {"start": 2, "ids":[
o.very_old_rev.split('-')[1] o.old_rev.split('-')[1], o.very_old_rev.split('-')[1]
]}; ]};
o.doc_myremove1 = {"_id":"remove1/remove2","_rev":o.old_rev}; o.doc_myremove1 = {"_id":"remove1/remove2","_rev":o.old_rev};
o.rev = "3-"+generateRevisionHash(o.doc_myremove1, o.revisions); o.rev = "3-"+generateRevisionHash(o.doc_myremove1, o.revisions);
...@@ -1440,10 +1440,9 @@ test ("Remove", function(){ ...@@ -1440,10 +1440,9 @@ test ("Remove", function(){
}]}; }]};
// 5. check if document tree has been updated correctly // 5. check if document tree has been updated correctly
deepEqual(localstorage.getItem("jio/localstorage/urevrem/arevrem/"+ deepEqual(localstorage.getItem(
"remove1.revision_tree.json" ), "jio/localstorage/urevrem/arevrem/remove1.revision_tree.json"
o.testtree, "Check if document tree has been updated correctly" ),o.testtree, "Check if document tree has been updated correctly");
);
// 6. check if attachment has been removed // 6. check if attachment has been removed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment