We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3df746f commit f1dab86Copy full SHA for f1dab86
.github/workflows/go.yml
@@ -51,5 +51,13 @@ jobs:
51
uses: actions/checkout@v1
52
53
- name: Test on ${{ matrix.os }}
54
+ if: matrix.os == 'ubuntu-latest'
55
run: |
- go test -race ./...
56
+ go test -v -race ./...
57
+ GOARCH=386 GOOS=linux go test -v ./...
58
+
59
+ - name: Test on ${{ matrix.os }}
60
+ if: matrix.os != 'ubuntu-latest'
61
+ run: |
62
63
estream/writer.go
@@ -335,7 +335,7 @@ func (b *blockWriter) send() error {
335
}
336
// Add block id
337
hdr := msgp.AppendInt8(b.hdr[:0], int8(b.id))
338
- if b.buf.Len() > math.MaxUint32 {
+ if uint32(b.buf.Len()) > math.MaxUint32 {
339
return errors.New("max block size exceeded")
340
341
// Add block length.
0 commit comments