Skip to content

Commit

Permalink
Fix lint?
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdubbelboer committed Feb 21, 2024
1 parent bbdeff8 commit 95ac420
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.19.x, 1.20.x, 1.21.x]
go-version: [1.19.x, 1.20.x, 1.21.x, 1.22.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion zstd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func testZstdBytesSingleCase(s string) error {
if !bytes.Equal(ZstdpedS[:len(prefix)], prefix) {
return fmt.Errorf("unexpected prefix when compressing %q: %q. Expecting %q", s, ZstdpedS[:len(prefix)], prefix)
}

unZstdedS, err := AppendUnzstdBytes(prefix, ZstdpedS[len(prefix):])
if err != nil {
return fmt.Errorf("unexpected error when uncompressing %q: %w", s, err)
Expand Down

0 comments on commit 95ac420

Please sign in to comment.