summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-06-25 14:07:04 +0000
committerJan Lehnardt <jan@apache.org>2010-06-25 14:07:04 +0000
commit248b3fa2efab820f7791c2482b32e0c9fb5c9053 (patch)
treee17ea03cd899a4a0fa2fe57679928c1702b82842 /test
parent170d22df12581ea1f69051266c69892df866c4c0 (diff)
fix test case for revpos-checking commit
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957951 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rwxr-xr-xtest/etap/030-doc-from-json.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/etap/030-doc-from-json.t b/test/etap/030-doc-from-json.t
index 22b23bd4..c4ef649a 100755
--- a/test/etap/030-doc-from-json.t
+++ b/test/etap/030-doc-from-json.t
@@ -92,14 +92,16 @@ test_from_json_success() ->
data = stub,
type = <<"application/awesome">>,
att_len = 45,
- disk_len = 45
+ disk_len = 45,
+ revpos = nil
},
#att{
name = <<"noahs_private_key.gpg">>,
data = <<"I have a pet fish!">>,
type = <<"application/pgp-signature">>,
att_len = 18,
- disk_len = 18
+ disk_len = 18,
+ revpos = 0
}
]},
"Attachments are parsed correctly."