Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
remove unnecessary test.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Aug 19, 2017
1 parent 2f208de commit 4b2ce07
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/errors/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ func TestCheckErr_WithoutError(t *testing.T) {
})
}

func TestCheckErr_Error(t *testing.T) {
t.Parallel()

//assert
require.Panics(t, func() {
errors.CheckErr(stderrors.New("This is an error"))
})
}
//func TestCheckErr_Error(t *testing.T) {
// t.Parallel()
//
// //assert
// require.Panics(t, func() {
// errors.CheckErr(stderrors.New("This is an error"))
// })
//}

func TestErrors(t *testing.T) {
t.Parallel()
Expand Down

0 comments on commit 4b2ce07

Please sign in to comment.