Skip to content

Commit

Permalink
make runnable
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Jan 6, 2023
1 parent 7b1bd59 commit 1d5657c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/oras/internal/option/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ type Test struct {
Cnt int
}

func (t *Test) Parse() {
func (t *Test) Parse() error {
t.Cnt += 1
return nil
}

func TestParse(t *testing.T) {
Expand Down

0 comments on commit 1d5657c

Please sign in to comment.