Skip to content

Commit

Permalink
Fix Cldr.Json tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kipcole9 committed Jul 9, 2024
1 parent e92fedd commit 2772c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cldr_utils_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ defmodule CldrUtilsTest do
doctest Cldr.String

if Code.ensure_loaded?(Cldr.Json) do
doctest Cldr.Json

test "Cldr.Json proxy" do
assert %{} = Cldr.Json.decode!("{}")
assert %{"foo" => 1} = Cldr.Json.decode!("{\"foo\": 1}")
assert %{foo: 1} = Cldr.Json.decode!("{\"foo\": 1}", keys: :atoms)
end
end
end

0 comments on commit 2772c76

Please sign in to comment.