Skip to content

Commit

Permalink
Merge pull request #155 from frankban/satisfies-refernce
Browse files Browse the repository at this point in the history
Only keep the refernce to the original satisfies code
  • Loading branch information
frankban committed Apr 11, 2023
2 parents 9a0c242 + 68d1d64 commit abb14de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: Build and Test
strategy:
matrix:
go: ['1.13', '1.14', '1.15', '1.16', '1.17', '1.18', '1.19']
go: ['1.13', '1.14', '1.15', '1.16', '1.17', '1.18', '1.19', '1.20']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
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 abb14de

Please sign in to comment.