@@ -6,51 +6,51 @@ import (
6
6
"github.com/libp2p/go-libp2p-core/peer"
7
7
"github.com/libp2p/go-libp2p-core/sec"
8
8
9
- moved "github.com/libp2p/go-libp2p-core/sec/test"
9
+ core "github.com/libp2p/go-libp2p-core/sec/test"
10
10
)
11
11
12
12
// Deprecated: Use github.com/libp2p/go-libp2p-core/sec/test.Subtests instead.
13
- var Subtests = moved .Subtests
13
+ var Subtests = core .Subtests
14
14
15
15
// Deprecated: Use github.com/libp2p/go-libp2p-core/sec/test.TestMessage instead.
16
- var TestMessage = moved .TestMessage
16
+ var TestMessage = core .TestMessage
17
17
18
18
// Deprecated: Use github.com/libp2p/go-libp2p-core/sec/test.TestStreamLen instead.
19
19
// Warning: it's impossible to alias a var in go, so reads and writes to this variable may be inaccurate
20
20
// or not have the intended effect.
21
- var TestStreamLen = moved .TestStreamLen
21
+ var TestStreamLen = core .TestStreamLen
22
22
23
23
// Deprecated: Use github.com/libp2p/go-libp2p-core/sec/test.TestSeed instead.
24
24
// Warning: it's impossible to alias a var in go, so reads and writes to this variable may be inaccurate
25
25
// or not have the intended effect.
26
- var TestSeed = moved .TestSeed
26
+ var TestSeed = core .TestSeed
27
27
28
28
// Deprecated: Use github.com/libp2p/go-libp2p-core/sec/test.SubtestAll instead.
29
29
func SubtestAll (t * testing.T , at , bt sec.SecureTransport , ap , bp peer.ID ) {
30
- moved .SubtestAll (t , at , bt , ap , bp )
30
+ core .SubtestAll (t , at , bt , ap , bp )
31
31
}
32
32
33
33
// Deprecated: Use github.com/libp2p/go-libp2p-core/sec/test.SubtestKeys instead.
34
34
func SubtestKeys (t * testing.T , at , bt sec.SecureTransport , ap , bp peer.ID ) {
35
- moved .SubtestKeys (t , at , bt , ap , bp )
35
+ core .SubtestKeys (t , at , bt , ap , bp )
36
36
}
37
37
38
38
// Deprecated: Use github.com/libp2p/go-libp2p-core/sec/test.SubtestWrongPeer instead.
39
39
func SubtestWrongPeer (t * testing.T , at , bt sec.SecureTransport , ap , bp peer.ID ) {
40
- moved .SubtestWrongPeer (t , at , bt , ap , bp )
40
+ core .SubtestWrongPeer (t , at , bt , ap , bp )
41
41
}
42
42
43
43
// Deprecated: Use github.com/libp2p/go-libp2p-core/sec/test.SubtestCancelHandshakeOutbound instead.
44
44
func SubtestCancelHandshakeOutbound (t * testing.T , at , bt sec.SecureTransport , ap , bp peer.ID ) {
45
- moved .SubtestCancelHandshakeOutbound (t , at , bt , ap , bp )
45
+ core .SubtestCancelHandshakeOutbound (t , at , bt , ap , bp )
46
46
}
47
47
48
48
// Deprecated: Use github.com/libp2p/go-libp2p-core/sec/test.SubtestCancelHandshakeInbound instead.
49
49
func SubtestCancelHandshakeInbound (t * testing.T , at , bt sec.SecureTransport , ap , bp peer.ID ) {
50
- moved .SubtestCancelHandshakeInbound (t , at , bt , ap , bp )
50
+ core .SubtestCancelHandshakeInbound (t , at , bt , ap , bp )
51
51
}
52
52
53
53
// Deprecated: Use github.com/libp2p/go-libp2p-core/sec/test.SubtestStream instead.
54
54
func SubtestStream (t * testing.T , at , bt sec.SecureTransport , ap , bp peer.ID ) {
55
- moved .SubtestStream (t , at , bt , ap , bp )
55
+ core .SubtestStream (t , at , bt , ap , bp )
56
56
}
0 commit comments