File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : CIFuzz
2
2
on :
3
+ workflow_dispatch :
3
4
pull_request :
4
5
branches :
5
6
- main
Original file line number Diff line number Diff line change 1
- package transport_test
1
+ package transport
2
2
3
3
import (
4
4
"fmt"
7
7
"testing"
8
8
9
9
"github.com/go-git/go-git/v6/plumbing/protocol/packp/capability"
10
- "github.com/go-git/go-git/v6/plumbing/transport"
11
10
"github.com/stretchr/testify/assert"
12
11
"github.com/stretchr/testify/require"
13
12
)
@@ -126,7 +125,7 @@ func TestNewEndpoint(t *testing.T) {
126
125
t .Run (tc .input , func (t * testing.T ) {
127
126
t .Parallel ()
128
127
129
- ep , err := transport . NewEndpoint (tc .input )
128
+ ep , err := NewEndpoint (tc .input )
130
129
if tc .wantErr != "" {
131
130
require .ErrorContains (t , err , tc .wantErr )
132
131
} else {
@@ -147,6 +146,6 @@ func TestFilterUnsupportedCapabilities(t *testing.T) {
147
146
148
147
func FuzzNewEndpoint (f * testing.F ) {
149
148
f .Fuzz (func (_ * testing.T , input string ) {
150
- transport . NewEndpoint (input )
149
+ NewEndpoint (input )
151
150
})
152
151
}
2E83
rect>
You can’t perform that action at this time.
0 commit comments