Skip to content

Commit

Permalink
chore: fix incorrectly sorted aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
tlux committed Apr 7, 2024
1 parent 223f641 commit 9b14737
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/tint/rgb.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ defmodule Tint.RGB do
import Tint.Utils.Cast

alias Tint.Distance
alias Tint.RGB.HexCode
alias Tint.Interval
alias Tint.RGB.HexCode

defstruct [:red, :green, :blue]

Expand Down
2 changes: 1 addition & 1 deletion lib/tint/rgb/hex_code.ex
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
defmodule Tint.RGB.HexCode do
@moduledoc false

alias Tint.RGB
alias Tint.Interval
alias Tint.RGB

@prefix "#"

Expand Down
2 changes: 1 addition & 1 deletion lib/tint/utils/cast.ex
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
defmodule Tint.Utils.Cast do
@moduledoc false

alias Tint.OutOfRangeError
alias Tint.Interval
alias Tint.OutOfRangeError

@ratio_interval Interval.new(0, 1)

Expand Down
2 changes: 1 addition & 1 deletion test/tint/out_of_range_error_test.exs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
defmodule Tint.OutOfRangeErrorTest do
use ExUnit.Case, async: true

alias Tint.OutOfRangeError
alias Tint.Interval
alias Tint.OutOfRangeError

describe "message/1" do
test "get message" do
Expand Down
2 changes: 1 addition & 1 deletion test/tint/utils/cast_test.exs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
defmodule Tint.Utils.CastTest do
use ExUnit.Case, async: true

alias Tint.Interval
alias Tint.OutOfRangeError
alias Tint.Utils.Cast
alias Tint.Interval

describe "cast_value!/1" do
test "to float" do
Expand Down

0 comments on commit 9b14737

Please sign in to comment.