chore: run formatter

This commit is contained in:
Ruidy 2024-12-01 18:21:21 +01:00
parent ebf68345ad
commit 5fd3901892
No known key found for this signature in database
GPG key ID: E00F51288CB857CC
2 changed files with 4 additions and 3 deletions

View file

@ -3,8 +3,8 @@ defmodule AdventCode2024 do
Documentation for `AdventCode2024`.
"""
defdelegate solve_day1(input_file \\ "priv/inputs/day1/input.txt"),
to: AdventCode2024.Solutions.Day1,
defdelegate solve_day1(input_file \\ "priv/inputs/day1/input.txt"),
to: AdventCode2024.Solutions.Day1,
as: :solve
defdelegate solve_day1_part2(input_file \\ "priv/inputs/day1/input.txt"),

View file

@ -7,13 +7,14 @@ defmodule AdventCode2024.Solutions.Day1Test do
setup do
# Ensure the fixtures directory exists
File.mkdir_p!("test/fixtures/day1")
# Create test input file
test_content = """
1 2
3 4
5 6
"""
File.write!(@test_input, test_content)
on_exit(fn ->