Skip to content

Commit

Permalink
Extra assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Jleagle committed Oct 27, 2023
1 parent 1a07144 commit 3dc26c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions steamvdf/vdf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func TestReadBinary(t *testing.T) {
_, err := json.MarshalIndent(str, "", " ")

assert.Assert(t, err == nil, fmt.Sprintf("json.MarshalIndent() failed to marshal kv.String() value: %v", err))
assert.Assert(t, json.Valid([]byte(str)), fmt.Sprintf("json.Valid() claims it's not a valid JSON:\n%s", str))

case "testdata/app_574720.vdf":

Expand Down

0 comments on commit 3dc26c4

Please sign in to comment.