Skip to content

Commit

Permalink
follow the review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
quasilyte committed Jul 19, 2023
1 parent 4886d1a commit ca5a8b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/handlers/sjson/array_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var arrayTestCases = []testCase{
},
j: `["",false,{"key":"value"},-32589.300000101,349,-21424182,null,"a string that is somewhat longer"]`,
}, {
name: "array_all",
name: "schema_null_error",
v: convertArray(must.NotFail(types.NewArray("a"))),
sch: &elem{
Type: elemTypeArray,
Expand Down
2 changes: 1 addition & 1 deletion internal/handlers/sjson/sjson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func fuzzJSONWithFixedDocuments(f *testing.F, testCases []testCase, newFunc func
j: d.j,
}
if err := unmarshalJSON(actualV, &tc); err == nil {
// if there was no error (which is a rare occasion),
// if there was no error,
// check that the documents match each other
assertEqualForFuzz(t, d.value, actualV)
}
Expand Down

0 comments on commit ca5a8b2

Please sign in to comment.