Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Gillis <[email protected]>
  • Loading branch information
gillisandrew committed Nov 1, 2024
1 parent 938abe2 commit 5c730dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion go/v1/statement.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ func (s *Statement) MarshalJSON() ([]byte, error) {

func (s *Statement) UnmarshalJSON(data []byte) error {
return protojson.Unmarshal(data, s)
}
}
3 changes: 0 additions & 3 deletions go/v1/statement_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ func TestBadStatementType(t *testing.T) {
assert.ErrorIs(t, err, ErrInvalidStatementType, "created malformed Statement (bad type)")
}



func TestBadStatementSubject(t *testing.T) {
tests := map[string]struct {
input string
Expand Down Expand Up @@ -153,4 +151,3 @@ func TestBadStatementPredicate(t *testing.T) {
assert.ErrorIs(t, err, test.err, fmt.Sprintf("%s in test '%s'", test.noErrMessage, name))
}
}

0 comments on commit 5c730dc

Please sign in to comment.