diff --git a/lib/bandit/phoenix_adapter.ex b/lib/bandit/phoenix_adapter.ex index b0146926..3ed85845 100644 --- a/lib/bandit/phoenix_adapter.ex +++ b/lib/bandit/phoenix_adapter.ex @@ -32,7 +32,7 @@ defmodule Bandit.PhoenixAdapter do This adapter supports the standard Phoenix structure for endpoint configuration. Top-level keys for `:http` and `:https` are supported, and configuration values within each of those are interpreted - as raw Bandit configuration as specified by `t:Bandit.options/0`. Bandit's confguration supports + as raw Bandit configuration as specified by `t:Bandit.options/0`. Bandit's configuration supports all values used in a standard out-of-the-box Phoenix application, so if you haven't made any substantial changes to your endpoint configuration things should 'just work' for you. diff --git a/lib/bandit/telemetry.ex b/lib/bandit/telemetry.ex index 253562cd..51e9e8aa 100644 --- a/lib/bandit/telemetry.ex +++ b/lib/bandit/telemetry.ex @@ -193,7 +193,7 @@ defmodule Bandit.Telemetry do def span_exception(span, :error, reason, stacktrace) when is_exception(reason) do metadata = Map.merge(span.start_metadata, %{ - # Using :exit for backwards-compatiblity with Bandit =< 1.5.7 + # Using :exit for backwards-compatibility with Bandit =< 1.5.7 kind: :exit, exception: reason, stacktrace: stacktrace diff --git a/test/bandit/http1/request_test.exs b/test/bandit/http1/request_test.exs index dfe06caa..cfeeefe5 100644 --- a/test/bandit/http1/request_test.exs +++ b/test/bandit/http1/request_test.exs @@ -2025,7 +2025,7 @@ defmodule HTTP1RequestTest do :nope end - test "silently accepts EXIT messages from normally terminating spwaned processes", context do + test "silently accepts EXIT messages from normally terminating spawned processes", context do errors = capture_log(fn -> Req.get!(context.req, url: "/spawn_child") @@ -2047,7 +2047,7 @@ defmodule HTTP1RequestTest do end end - test "does not do anything special with EXIT messages from abnormally terminating spwaned processes", + test "does not do anything special with EXIT messages from abnormally terminating spawned processes", context do context = http_server(context, http_1_options: [log_unknown_messages: true]) diff --git a/test/bandit/http2/plug_test.exs b/test/bandit/http2/plug_test.exs index 42c25fdc..13cd525d 100644 --- a/test/bandit/http2/plug_test.exs +++ b/test/bandit/http2/plug_test.exs @@ -749,7 +749,7 @@ defmodule HTTP2PlugTest do send_resp(conn, 200, conn |> get_peer_data() |> inspect()) end - test "silently accepts EXIT messages from normally terminating spwaned processes", context do + test "silently accepts EXIT messages from normally terminating spawned processes", context do errors = capture_log(fn -> Req.get!(context.req, url: "/spawn_child")