From 91bf33fdc69c2087707795b8822b0fa7617f8709 Mon Sep 17 00:00:00 2001 From: "Damien F. Katz" Date: Fri, 17 Jul 2009 21:33:41 +0000 Subject: Deterministic revids, MD5 checking of documents, added tracking of rev when an attachment is edited to allow attachment level replication. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795232 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/recreate_doc.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'share/www/script/test/recreate_doc.js') diff --git a/share/www/script/test/recreate_doc.js b/share/www/script/test/recreate_doc.js index ca64265d..75e34618 100644 --- a/share/www/script/test/recreate_doc.js +++ b/share/www/script/test/recreate_doc.js @@ -29,11 +29,7 @@ couchTests.recreate_doc = function(debug) { T(db.save(doc).ok); doc = db.open("foo"); doc.a = "baz"; - try { - T(db.save(doc).ok); - } finally { - // And now, we can't even delete the document anymore :/ - T(db.deleteDoc(doc).rev != undefined); - } + T(db.save(doc).ok); + T(db.deleteDoc(doc).rev != undefined); } }; -- cgit v1.2.3