Skip to content

Commit

Permalink
Only keep the refernce to the original satisfies code
Browse files Browse the repository at this point in the history
  • Loading branch information
frankban committed Apr 11, 2023
1 parent 9a0c242 commit a225823
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,6 @@ type satisfiesChecker struct {
func (c *satisfiesChecker) Check(got interface{}, args []interface{}, note func(key string, value interface{})) (err error) {
// Original code at
// <https://github.com/juju/testing/blob/master/checkers/bool.go>.
// Copyright 2011 Canonical Ltd.
// Licensed under the LGPLv3, see LICENSE file for details.
predicate := args[0]
f := reflect.ValueOf(predicate)
ftype := f.Type()
Expand Down

0 comments on commit a225823

Please sign in to comment.