Skip to content

Commit

Permalink
Remove irrelevant field from test
Browse files Browse the repository at this point in the history
  • Loading branch information
v0idpwn committed Jan 5, 2025
1 parent ac70f44 commit abf5858
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/protobuf/conformance_regressions_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,11 @@ defmodule Protobuf.ConformanceRegressionsTest do
problematic_payload = ~S({
"map_bool_bool": null,
"repeated_int32": null,
"fieldname1": null
})

assert %{
map_bool_bool: map_bool_bool,
repeated_int32: [],
fieldname1: 0
repeated_int32: []
} = Protobuf.JSON.decode!(problematic_payload, mod)

assert is_map(map_bool_bool) and map_size(map_bool_bool) == 0
Expand Down

0 comments on commit abf5858

Please sign in to comment.