From 9f007767f2545cf3e1998f1e0d8450fa606182df Mon Sep 17 00:00:00 2001 From: "Kian-Meng, Ang" Date: Thu, 16 Sep 2021 08:33:41 +0800 Subject: [PATCH] Fix typos --- src/poolboy.erl | 2 +- test/poolboy_tests.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/poolboy.erl b/src/poolboy.erl index db20541..c39bcdc 100644 --- a/src/poolboy.erl +++ b/src/poolboy.erl @@ -128,7 +128,7 @@ start(PoolArgs, WorkerArgs) -> -spec start_link(PoolArgs :: proplists:proplist()) -> start_ret(). start_link(PoolArgs) -> - %% for backwards compatability, pass the pool args as the worker args as well + %% for backwards compatibility, pass the pool args as the worker args as well start_link(PoolArgs, PoolArgs). -spec start_link(PoolArgs :: proplists:proplist(), diff --git a/test/poolboy_tests.erl b/test/poolboy_tests.erl index 5b27024..c64e1cb 100644 --- a/test/poolboy_tests.erl +++ b/test/poolboy_tests.erl @@ -24,7 +24,7 @@ pool_test_() -> {<<"Pool behaves when empty">>, fun pool_empty/0 }, - {<<"Pool behaves when empty and oveflow is disabled">>, + {<<"Pool behaves when empty and overflow is disabled">>, fun pool_empty_no_overflow/0 }, {<<"Pool behaves on worker death">>,