Skip to content

Commit

Permalink
added missed test variant
Browse files Browse the repository at this point in the history
  • Loading branch information
gknw committed Feb 26, 2024
1 parent 780e50a commit 5e47796
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtime/marshal_json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,11 @@ var (
data: (*examplepb.NumericEnum)(proto.Int32(int32(examplepb.NumericEnum_ONE))),
json: "1",
},
{
data: (*examplepb.NumericEnum)(proto.Int32(int32(examplepb.NumericEnum_ONE))),
indent: defaultIndent,
json: "1",
},
{data: map[string]int{"FOO": 0, "BAR": -1}, json: "{\"BAR\":-1,\"FOO\":0}"},
{data: map[string]int{"FOO": 0, "BAR": -1}, indent: defaultIndent, json: "{\n \"BAR\": -1,\n \"FOO\": 0\n}"},
{data: struct {
Expand Down

0 comments on commit 5e47796

Please sign in to comment.