summaryrefslogtreecommitdiff
path: root/src/couch_replicator/test/eunit/couch_replicator_filtered_tests.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couch_replicator/test/eunit/couch_replicator_filtered_tests.erl')
-rw-r--r--src/couch_replicator/test/eunit/couch_replicator_filtered_tests.erl21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/couch_replicator/test/eunit/couch_replicator_filtered_tests.erl b/src/couch_replicator/test/eunit/couch_replicator_filtered_tests.erl
index 41f1772e6..b77b83daa 100644
--- a/src/couch_replicator/test/eunit/couch_replicator_filtered_tests.erl
+++ b/src/couch_replicator/test/eunit/couch_replicator_filtered_tests.erl
@@ -21,12 +21,13 @@
{<<"_id">>, <<"_design/filter_ddoc">>},
{<<"filters">>,
{[
- {<<"testfilter">>,
- <<"\n"
+ {<<"testfilter">>, <<
+ "\n"
" function(doc, req){if (doc.class == 'mammal') return true;}\n"
- " ">>},
- {<<"queryfilter">>,
- <<"\n"
+ " "
+ >>},
+ {<<"queryfilter">>, <<
+ "\n"
" function(doc, req) {\n"
" if (doc.class && req.query.starts) {\n"
" return doc.class.indexOf(req.query.starts) === 0;\n"
@@ -35,20 +36,22 @@
" return false;\n"
" }\n"
" }\n"
- " ">>}
+ " "
+ >>}
]}},
{<<"views">>,
{[
{<<"mammals">>,
{[
- {<<"map">>,
- <<"\n"
+ {<<"map">>, <<
+ "\n"
" function(doc) {\n"
" if (doc.class == 'mammal') {\n"
" emit(doc._id, null);\n"
" }\n"
" }\n"
- " ">>}
+ " "
+ >>}
]}}
]}}
]}