diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5a513a..c6dac75 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/test/common.go b/test/common.go index f9f76f2..3678250 100644 --- a/test/common.go +++ b/test/common.go @@ -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) }