diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 319f700..4b0e0b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,14 +26,14 @@ jobs: otp: 24.2 lint: lint steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: erlef/setup-beam@v1 with: otp-version: ${{matrix.pair.otp}} elixir-version: ${{matrix.pair.elixir}} - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: | deps diff --git a/test/nimble_parsec_test.exs b/test/nimble_parsec_test.exs index f80f6b9..4a90c37 100644 --- a/test/nimble_parsec_test.exs +++ b/test/nimble_parsec_test.exs @@ -735,12 +735,14 @@ defmodule NimbleParsecTest do test "aborts times" do assert lookahead_with_times("a") == - {:error, "expected ASCII character in the range \"0\" to \"9\"", "", %{}, {1, 0}, 1} + {:error, "expected ASCII character in the range \"0\" to \"9\"", "", %{}, {1, 0}, + 1} assert lookahead_with_times("a0") == {:ok, 'a', "0", %{}, {1, 0}, 1} assert lookahead_with_times("aa0") == - {:error, "expected ASCII character in the range \"0\" to \"9\"", "a0", %{}, {1, 0}, 1} + {:error, "expected ASCII character in the range \"0\" to \"9\"", "a0", %{}, {1, 0}, + 1} end end @@ -1449,7 +1451,8 @@ defmodule NimbleParsecTest do test "never succeeds on bad eos" do assert bad_eos("a") == - {:error, "expected ASCII character in the range \"a\" to \"z\"", "", %{}, {1, 0}, 1} + {:error, "expected ASCII character in the range \"a\" to \"z\"", "", %{}, {1, 0}, + 1} assert bad_eos("aa") == {:error,