Skip to content

Commit

Permalink
Change directory structure for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDryga committed May 14, 2024
1 parent 582764c commit fc54d97
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule LoggerJSON.Formatter.EncoderTest do
use Logger.Case, async: true
use LoggerJSON.Case, async: true
use ExUnitProperties
import LoggerJSON.Formatter.Encoder

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule LoggerJSON.Formatters.BasicTest do
use Logger.Case
use LoggerJSON.Case
use ExUnitProperties
alias LoggerJSON.Formatters.Basic
require Logger
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule LoggerJSON.Formatters.DatadogTest do
use Logger.Case
use LoggerJSON.Case
use ExUnitProperties
alias LoggerJSON.Formatters.Datadog
require Logger
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule LoggerJSON.Formatters.GoogleCloudTest do
use Logger.Case
use LoggerJSON.Case
use ExUnitProperties
alias LoggerJSON.Formatters.GoogleCloud
require Logger
Expand Down
4 changes: 2 additions & 2 deletions test/support/logger_case.ex
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
defmodule Logger.Case do
defmodule LoggerJSON.Case do
@moduledoc false
use ExUnit.CaseTemplate
import ExUnit.CaptureIO

using _ do
quote do
import Logger.Case
import LoggerJSON.Case
end
end

Expand Down

0 comments on commit fc54d97

Please sign in to comment.