Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
test:
strategy:
matrix:
go-version: [1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x, 1.23.x, 1.24.x, tip]
go-version: [1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x, 1.23.x, 1.24.x, 1.25.x, tip]
full-tests: [false]
include:
- go-version: 1.25.x
- go-version: 1.26.x
full-tests: true

runs-on: ubuntu-latest
Expand All @@ -32,7 +32,7 @@ jobs:
if: matrix.full-tests
run: |
curl -sL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh |
sh -s -- -b $HOME/go/bin v2.4.0
sh -s -- -b $HOME/go/bin v2.9.0
$HOME/go/bin/golangci-lint run

- name: Testing
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Easy mocking of http responses from external resources.

## Install

Currently supports Go 1.16 to 1.24 and is regularly tested against tip.
Currently supports Go 1.16 to 1.26 and is regularly tested against tip.

`v1` branch has to be used instead of `master`.

Expand Down
2 changes: 1 addition & 1 deletion match_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func newMR(name string, num int) httpmock.MatchResponder {
func checkMRs(t testing.TB, mrs httpmock.MatchResponders, names ...string) {
td.Cmp(t, mrs, td.Smuggle(
func(mrs httpmock.MatchResponders) []string {
var ns []string
ns := make([]string, 0, len(mrs))
for _, mr := range mrs {
ns = append(ns, fmt.Sprintf("%s:%d",
mr.Matcher().Name(), findMatcher(mr.Matcher().FnPointer())))
Expand Down