Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
lmendes86 committed Sep 6, 2024
1 parent 5e28db9 commit 59b6f94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.20', '1.21' , '1.22' ,]
go-version: [ '1.21' , '1.22' ,]
steps:
- uses: actions/checkout@v4
- name: Set up Go
Expand Down
8 changes: 0 additions & 8 deletions test/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@ func subscribeToResource(t *testing.T, s *Session, c *Conn, rid string) string {
return subscribeToCustomResource(t, s, c, rid, rsrc)
}

func subscribeToCachedResource(t *testing.T, s *Session, c *Conn, rid string) string {
rsrc, ok := resources[rid]
if !ok {
panic("no resource named " + rid)
}
return subscribeToCustomResourceExt(t, s, c, rid, rsrc, true)
}

func subscribeToCustomResource(t *testing.T, s *Session, c *Conn, rid string, rsrc resource) string {
return subscribeToCustomResourceExt(t, s, c, rid, rsrc, false)
}
Expand Down

0 comments on commit 59b6f94

Please sign in to comment.