diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9939c0a..c6f6341 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,8 +40,8 @@ jobs: # Specify the OTP and Elixir versions to use when building # and running the workflow steps. matrix: - otp: ['26.2.5', '27.0'] # Define the OTP version [required] - elixir: ['1.16.2', '1.17.2'] # Define the elixir version [required] + otp: ['27.0'] # Define the OTP version [required] + elixir: ['1.17.2'] # Define the elixir version [required] steps: # Step: Setup Elixir + Erlang image as the base. - name: Set up Elixir diff --git a/lib/cldr/utils/json.ex b/lib/cldr/utils/json.ex index a6d8b22..5e5402c 100644 --- a/lib/cldr/utils/json.ex +++ b/lib/cldr/utils/json.ex @@ -48,6 +48,5 @@ if Code.ensure_loaded?(:json) do {json, :ok, ""} = :json.decode(string, :ok, decoders) json end - end end \ No newline at end of file diff --git a/test/cldr_utils_test.exs b/test/cldr_utils_test.exs index 4e7fc2d..af31104 100644 --- a/test/cldr_utils_test.exs +++ b/test/cldr_utils_test.exs @@ -13,7 +13,7 @@ defmodule CldrUtilsTest do doctest Cldr.Json test "Cldr.Json proxy" do - assert Cldr.Json.decode!("{}") == %{} + assert %{} = Cldr.Json.decode!("{}") end end end