Commit 636cd9d 1 parent 450f9e9 commit 636cd9d Copy full SHA for 636cd9d
File tree 4 files changed +12
-12
lines changed
4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,11 @@ defmodule Credo.Check.Refactor.IoPutsTest do
47
47
"""
48
48
|> to_source_file
49
49
|> run_check ( @ described_check )
50
- |> assert_issues ( fn [ one , two ] ->
50
+ |> assert_issues ( fn [ two , one ] ->
51
51
assert one . line_no == 3
52
- assert one . column == 26
52
+ assert one . column == 5
53
53
assert two . line_no == 3
54
- assert two . column == 5
54
+ assert two . column == 26
55
55
end )
56
56
end
57
57
Original file line number Diff line number Diff line change @@ -81,11 +81,11 @@ defmodule Credo.Check.Warning.DbgTest do
81
81
"""
82
82
|> to_source_file
83
83
|> run_check ( @ described_check )
84
- |> assert_issues ( fn [ one , two ] ->
84
+ |> assert_issues ( fn [ two , one ] ->
85
85
assert one . line_no == 3
86
- assert one . column == 23
86
+ assert one . column == 5
87
87
assert two . line_no == 3
88
- assert two . column == 5
88
+ assert two . column == 23
89
89
end )
90
90
end
91
91
Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ defmodule Credo.Check.Warning.IExPryTest do
51
51
"""
52
52
|> to_source_file
53
53
|> run_check ( @ described_check )
54
- |> assert_issues ( fn [ one , two ] ->
54
+ |> assert_issues ( fn [ two , one ] ->
55
55
assert one . line_no == 3
56
- assert one . column == 16
56
+ assert one . column == 5
57
57
assert two . line_no == 3
58
- assert two . column == 5
58
+ assert two . column == 16
59
59
end )
60
60
end
61
61
end
Original file line number Diff line number Diff line change @@ -138,11 +138,11 @@ defmodule Credo.Check.Warning.MixEnvTest do
138
138
"""
139
139
|> to_source_file
140
140
|> run_check ( @ described_check )
141
- |> assert_issues ( fn [ one , two ] ->
141
+ |> assert_issues ( fn [ two , one ] ->
142
142
assert one . line_no == 3
143
- assert one . column == 16
143
+ assert one . column == 5
144
144
assert two . line_no == 3
145
- assert two . column == 5
145
+ assert two . column == 16
146
146
end )
147
147
end
148
148
You can’t perform that action at this time.
0 commit comments