Skip to content

Commit 804b1df

Browse files
fcharliechrisd8088
andauthoredAug 8, 2024
Update commit_test.go
Co-authored-by: Chris Darroch <chrisd@apache.org>
1 parent 61eb652 commit 804b1df

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎commit_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -466,9 +466,5 @@ committer \346\244\260\346\235\215
466466
Credit Card Account`
467467
var c Commit
468468
_, err := c.Decode(sha1.New(), strings.NewReader(cc), int64(len(cc)))
469-
if err != nil {
470-
fmt.Fprintf(os.Stderr, "decode error: '%v'\n", err)
471-
return
472-
}
473-
fmt.Fprintf(os.Stderr, "%v\n", c)
469+
assert.NoError(t, err)
474470
}

0 commit comments

Comments
 (0)