From 77cac53d4d477cf066aa24d72e187a22ede9c928 Mon Sep 17 00:00:00 2001 From: Po Chen Date: Wed, 7 Sep 2016 23:08:54 +1000 Subject: [PATCH] update test --- lib/httparrot/general_request_info.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/httparrot/general_request_info.ex b/lib/httparrot/general_request_info.ex index 7258ef0..c38e614 100644 --- a/lib/httparrot/general_request_info.ex +++ b/lib/httparrot/general_request_info.ex @@ -14,8 +14,8 @@ defmodule HTTParrot.GeneralRequestInfo do @doc """ Group by keys and if duplicated keys, aggregate them as a list - iex> group_by_keys([a: "v1", a: "v2", b: "v3"]) - %{a: ["v1", "v2"], b: "v3"} + iex> group_by_keys([a: "v1", a: "v2", b: "v3", a: "v4"]) + %{a: ["v1", "v2", "v4"], b: "v3"} """ @spec group_by_keys(list) :: map def group_by_keys([]), do: %{}