Skip to content

Commit ad5e1b1

Browse files
committed
small test improvement
1 parent f72247e commit ad5e1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/aggregate_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ defmodule DataSchema.AggregateTest do
3636

3737
describe ":aggregate type to_struct/2" do
3838
test "non null field that returns null from the data accessor errors." do
39-
input = %{foo: nil}
39+
input = %{"foo" => nil}
4040

4141
assert DataSchema.to_struct(input, AggErr) ==
4242
{:error,

0 commit comments

Comments
 (0)