From 1cc7ab44b3c33166c63d7d1b056006c0b4f922ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Magalh=C3=A3es?= Date: Sat, 7 Mar 2020 11:32:03 +0000 Subject: [PATCH] Remove extra curly brackets in with_mocks --- lib/mock.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mock.ex b/lib/mock.ex index 108163e..7b03a95 100644 --- a/lib/mock.ex +++ b/lib/mock.ex @@ -50,7 +50,7 @@ defmodule Mock do Mock up multiple modules for the duration of `test`. ## Example - with_mocks([{HTTPotion, opts, [{get: fn("http://example.com") -> "" end}]}]) do + with_mocks([{HTTPotion, opts, [get: fn("http://example.com") -> "" end]}]) do # Tests that make the expected call assert called HTTPotion.get("http://example.com") end