summaryrefslogtreecommitdiff
path: root/src/rabbit_tests.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-10-16 16:18:39 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-10-16 16:18:39 +0100
commitfb57129b1030702c2a281e6bed154955b0411156 (patch)
tree32ea82d50f552f610a65072b0717ed327a5149bb /src/rabbit_tests.erl
parent9402f51a6585e0544d77a0511d176aae69f3f5b4 (diff)
downloadrabbitmq-server-fb57129b1030702c2a281e6bed154955b0411156.tar.gz
Another lurking "Tags"
Diffstat (limited to 'src/rabbit_tests.erl')
-rw-r--r--src/rabbit_tests.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index 2c416c76..22742da1 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -1032,10 +1032,10 @@ test_runtime_parameters() ->
test_policy_validation() ->
rabbit_runtime_parameters_test:register_policy_validator(),
SetPol =
- fun (Tag, Val) ->
+ fun (Key, Val) ->
control_action(
set_policy,
- ["name", ".*", rabbit_misc:format("{\"~s\":~p}", [Tag, Val])])
+ ["name", ".*", rabbit_misc:format("{\"~s\":~p}", [Key, Val])])
end,
ok = SetPol("testeven", []),