Skip to content

Commit aacee48

Browse files
committed
plugin test in unix, only
1 parent 7c7bdfb commit aacee48

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

api/ocm/tools/transfer/transferhandler/plugin/handler_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build unix
2+
13
package plugin_test
24

35
import (

api/utils/accessio/limitwriter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type LimitedBuffer struct {
4646
}
4747

4848
func (b *LimitedBuffer) Exceeded() bool {
49-
return b.LimitedWriter.N > b.max
49+
return b.LimitedWriter.N < 0
5050
}
5151

5252
func (b *LimitedBuffer) Bytes() []byte {

cmds/ocm/commands/ocmcmds/components/transfer/upload_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build unix
2+
13
package transfer_test
24

35
import (

0 commit comments

Comments
 (0)