Skip to content

Commit

Permalink
ci: tune dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
powerman committed Jun 27, 2021
1 parent 6f3efa7 commit 14025c6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: 'gomod'
directory: '/'
schedule:
interval: 'daily'
commit-message:
prefix: 'chore(deps):'
open-pull-requests-limit: 10
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/powerman/rpc-codec

go 1.12
go 1.16
4 changes: 2 additions & 2 deletions jsonrpc2/all_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ func TestServer(t *testing.T) {
if resp.Error != nil {
t.Fatalf("resp.Error: %s", resp.Error)
}
if resp.ID.(string) != string(i) {
t.Fatalf("resp: bad id %q want %q", resp.ID.(string), string(i))
if resp.ID.(string) != string(rune(i)) {
t.Fatalf("resp: bad id %q want %q", resp.ID.(string), string(rune(i)))
}
if resp.Result.C != 2*i+1 {
t.Fatalf("resp: bad result: %d+%d=%d", i, i+1, resp.Result.C)
Expand Down

0 comments on commit 14025c6

Please sign in to comment.