Skip to content

Commit

Permalink
Make async true for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
code-shoily committed Oct 20, 2024
1 parent 49efecf commit 5852753
Show file tree
Hide file tree
Showing 164 changed files with 163 additions and 163 deletions.
2 changes: 1 addition & 1 deletion lib/helpers/templates/test.eex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y<%= year %>.Day<%= String.pad_leading(day, 2, "0") %>Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y<%= year |> String.split_at(2) |> elem(1) %><%= String.pad_leading(day, 2, "0") %>

alias AdventOfCode.Y<%= year %>.Day<%= String.pad_leading(day, 2, "0") %>, as: Solution
Expand Down
Binary file modified priv/native/libaoc.so
Binary file not shown.
2 changes: 1 addition & 1 deletion test/2015/day_01_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2015.Day01Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1501

alias AdventOfCode.Y2015.Day01, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_02_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2015.Day02Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1502

alias AdventOfCode.Y2015.Day02, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_03_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2015.Day03Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1503

alias AdventOfCode.Y2015.Day03, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_04_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2015.Day04Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1504

alias AdventOfCode.Y2015.Day04, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_05_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2015.Day05Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1505

alias AdventOfCode.Y2015.Day05, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_06_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2015.Day06Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1506

alias AdventOfCode.Y2015.Day06, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_07_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day07Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1507

alias AdventOfCode.Y2015.Day07, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_08_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day08Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1508

alias AdventOfCode.Y2015.Day08, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_09_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day09Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1509

alias AdventOfCode.Y2015.Day09, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_10_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day10Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1510

alias AdventOfCode.Y2015.Day10, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_11_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day11Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1511

alias AdventOfCode.Y2015.Day11, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_12_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2015.Day12Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1512

alias AdventOfCode.Y2015.Day12, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_13_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day13Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1513

alias AdventOfCode.Y2015.Day13, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_14_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day14Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1514

alias AdventOfCode.Y2015.Day14, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_15_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day15Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1515

alias AdventOfCode.Y2015.Day15, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_16_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day16Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1516

alias AdventOfCode.Y2015.Day16, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_17_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day17Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1517

alias AdventOfCode.Y2015.Day17, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_18_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day18Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1518

alias AdventOfCode.Y2015.Day18, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_19_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day19Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1519

alias AdventOfCode.Y2015.Day19, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_20_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day20Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1520

alias AdventOfCode.Y2015.Day20, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_21_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day21Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1521

alias AdventOfCode.Y2015.Day21, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_23_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day23Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1523

alias AdventOfCode.Y2015.Day23, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_24_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day24Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1524

alias AdventOfCode.Y2015.Day24, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2015/day_25_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2015.Day25Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1525

alias AdventOfCode.Y2015.Day25, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_01_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2016.Day01Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1601

alias AdventOfCode.Y2016.Day01, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_02_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2016.Day02Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1602

alias AdventOfCode.Y2016.Day02, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_03_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2016.Day03Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1603

alias AdventOfCode.Y2016.Day03, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_04_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2016.Day04Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1604

alias AdventOfCode.Y2016.Day04, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_05_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2016.Day05Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1605_slow

alias AdventOfCode.Y2016.Day05, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_06_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2016.Day06Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1606

alias AdventOfCode.Y2016.Day06, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_07_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2016.Day07Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1607

alias AdventOfCode.Y2016.Day07, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_08_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2016.Day08Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1608

alias AdventOfCode.Y2016.Day08, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_09_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2016.Day09Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1609

alias AdventOfCode.Y2016.Day09, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_10_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2016.Day10Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1610

alias AdventOfCode.Y2016.Day10, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2016/day_12_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2016.Day12Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1612

alias AdventOfCode.Y2016.Day12, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2017/day_01_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2017.Day01Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1701

alias AdventOfCode.Y2017.Day01, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2017/day_02_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule AdventOfCode.Y2017.Day02Test do
@moduledoc false
use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1702

alias AdventOfCode.Y2017.Day02, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2017/day_03_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2017.Day03Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1703

alias AdventOfCode.Y2017.Day03, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2017/day_04_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2017.Day04Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1704

alias AdventOfCode.Y2017.Day04, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2017/day_05_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2017.Day05Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1705

alias AdventOfCode.Y2017.Day05, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2017/day_06_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2017.Day06Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1706

alias AdventOfCode.Y2017.Day06, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2017/day_07_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2017.Day07Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1707

alias AdventOfCode.Y2017.Day07, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2017/day_08_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2017.Day08Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1708

alias AdventOfCode.Y2017.Day08, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2017/day_09_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2017.Day09Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1709

alias AdventOfCode.Y2017.Day09, as: Solution
Expand Down
2 changes: 1 addition & 1 deletion test/2017/day_10_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AdventOfCode.Y2017.Day10Test do
@moduledoc false

use ExUnit.Case
use ExUnit.Case, async: true
@moduletag :y1710

alias AdventOfCode.Y2017.Day10, as: Solution
Expand Down
Loading

0 comments on commit 5852753

Please sign in to comment.