diff --git a/test/error_tracker/telemetry_test.exs b/test/error_tracker/telemetry_test.exs index fd09ed4..ce1cd45 100644 --- a/test/error_tracker/telemetry_test.exs +++ b/test/error_tracker/telemetry_test.exs @@ -10,7 +10,7 @@ defmodule ErrorTracker.TelemetryTest do :ok end - test "event is emitted for new errors" do + test "events are emitted for new errors" do # Since the error is new, both the new error and new occurrence events will be emitted report_error(fn -> raise "This is a test" end) assert_receive {:telemetry_event, [:error_tracker, :error, :new], _, %{error: %Error{}}} @@ -29,7 +29,7 @@ defmodule ErrorTracker.TelemetryTest do %{occurrence: %Occurrence{}}} end - test "event is emitted for resolved and unresolved errors" do + test "events are emitted for resolved and unresolved errors" do %Occurrence{error: error = %Error{}} = report_error(fn -> raise "This is a test" end) # The resolved event will be emitted diff --git a/test/error_tracker_test.exs b/test/error_tracker_test.exs index 58557a5..3afa438 100644 --- a/test/error_tracker_test.exs +++ b/test/error_tracker_test.exs @@ -25,7 +25,7 @@ defmodule ErrorTrackerTest do assert error.kind == to_string(ArithmeticError) assert error.reason == "bad argument in arithmetic expression" - # Elixir 1.17.0 reports this errors differntly than previous versions + # Elixir 1.17.0 reports these errors differently than previous versions if Version.compare(System.version(), "1.17.0") == :lt do assert error.source_line =~ @relative_file_path else