Skip to content

Commit

Permalink
Test on Elixir 1.17 and OTP 27 only
Browse files Browse the repository at this point in the history
  • Loading branch information
kipcole9 committed Jul 9, 2024
1 parent 2e0a6d5 commit e92fedd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion lib/cldr/utils/json.ex
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,5 @@ if Code.ensure_loaded?(:json) do
{json, :ok, ""} = :json.decode(string, :ok, decoders)
json
end

end
end
2 changes: 1 addition & 1 deletion test/cldr_utils_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e92fedd

Please sign in to comment.