summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/etap/082-config-register.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/etap/082-config-register.t b/test/etap/082-config-register.t
index a35d96aa..416c45ee 100755
--- a/test/etap/082-config-register.t
+++ b/test/etap/082-config-register.t
@@ -84,4 +84,11 @@ test() ->
"Implicitly test that the function got de-registered"
),
+ % test passing of Persist flag
+ couch_config:register(
+ fun("httpd", _, _, Persist) ->
+ etap:is(Persist, false)
+ end),
+ ok = couch_config:set("httpd", "port", "80", false),
+
ok.