Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Lum <lumjjb@gmail.com>
  • Loading branch information
lumjjb committed May 26, 2023
1 parent 6b2ab7a commit fb0f8d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spdx/v2/v2_2/json/json_test.go
Expand Up @@ -175,7 +175,7 @@ func Test_ShorthandFields(t *testing.T) {
}

if diff := cmp.Diff(want, doc, cmpopts.IgnoreUnexported(spdx.Package{}), cmpopts.SortSlices(relationshipLess)); len(diff) > 0 {
t.Errorf("got incorrect struct after parsing JSON example: %s", cmp.Diff(want, doc, cmpopts.IgnoreUnexported(spdx.Package{})))
t.Errorf("got incorrect struct after parsing JSON example: %s", diff)
return
}

Expand Down
2 changes: 1 addition & 1 deletion spdx/v2/v2_3/json/json_test.go
Expand Up @@ -194,7 +194,7 @@ func Test_ShorthandFields(t *testing.T) {
}

if diff := cmp.Diff(want, doc, cmpopts.IgnoreUnexported(spdx.Package{}), cmpopts.SortSlices(relationshipLess)); len(diff) > 0 {
t.Errorf("got incorrect struct after parsing JSON example: %s", cmp.Diff(want, doc, cmpopts.IgnoreUnexported(spdx.Package{})))
t.Errorf("got incorrect struct after parsing JSON example: %s", diff)
return
}
}
Expand Down

0 comments on commit fb0f8d8

Please sign in to comment.