From 9255cdf1d783ff5deff783ae13b0d003f484bb86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 19 Feb 2017 16:51:16 +0100 Subject: Change the type of bindings from a list to a map Maps make more sense because the keys are unique. --- test/req_SUITE.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test') diff --git a/test/req_SUITE.erl b/test/req_SUITE.erl index ceff485..fe1b826 100644 --- a/test/req_SUITE.erl +++ b/test/req_SUITE.erl @@ -114,10 +114,9 @@ binding(Config) -> <<"default">> = do_get_body("/args/binding/undefined/default", Config), ok. -%% @todo Do we really want a key/value list here instead of a map? bindings(Config) -> doc("Values bound from request URI path."), - <<"[{key,<<\"bindings\">>}]">> = do_get_body("/bindings", Config), + <<"#{key => <<\"bindings\">>}">> = do_get_body("/bindings", Config), ok. header(Config) -> -- cgit v1.2.3