add .formatter.exs + format
This commit is contained in:
@@ -3,24 +3,25 @@ defmodule ListsTests do
|
||||
import TestHarness
|
||||
|
||||
test "Lists" do
|
||||
answers = [1,
|
||||
3,
|
||||
[1, 2, :a, "b"],
|
||||
[1,2],
|
||||
[:a, :c],
|
||||
[:a, :b],
|
||||
["life", "life", "life"],
|
||||
[1, 2, 3, 4, 5],
|
||||
[1, 4, 2, 3],
|
||||
[10, 2, 3],
|
||||
[1, 2, 3],
|
||||
[1, 2, 3, 4],
|
||||
[1, 2, 3, 4],
|
||||
{1, 2, 3},
|
||||
["value"],
|
||||
[],
|
||||
["value"],
|
||||
]
|
||||
answers = [
|
||||
1,
|
||||
3,
|
||||
[1, 2, :a, "b"],
|
||||
[1, 2],
|
||||
[:a, :c],
|
||||
[:a, :b],
|
||||
["life", "life", "life"],
|
||||
[1, 2, 3, 4, 5],
|
||||
[1, 4, 2, 3],
|
||||
[10, 2, 3],
|
||||
[1, 2, 3],
|
||||
[1, 2, 3, 4],
|
||||
[1, 2, 3, 4],
|
||||
{1, 2, 3},
|
||||
["value"],
|
||||
[],
|
||||
["value"]
|
||||
]
|
||||
|
||||
test_all(Lists, answers)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user