mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-17 16:29:55 -04:00
update version: auto replacement to v5 path
This commit is contained in:
@@ -4,8 +4,8 @@ import (
|
||||
"strconv"
|
||||
"testing"
|
||||
|
||||
"github.com/v2fly/v2ray-core/v4/common"
|
||||
. "github.com/v2fly/v2ray-core/v4/common/strmatcher"
|
||||
"github.com/v2fly/v2ray-core/v5/common"
|
||||
. "github.com/v2fly/v2ray-core/v5/common/strmatcher"
|
||||
)
|
||||
|
||||
// Benchmark Domain Matcher Groups
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/v2fly/v2ray-core/v4/common"
|
||||
. "github.com/v2fly/v2ray-core/v4/common/strmatcher"
|
||||
"github.com/v2fly/v2ray-core/v5/common"
|
||||
. "github.com/v2fly/v2ray-core/v5/common/strmatcher"
|
||||
)
|
||||
|
||||
// See https://github.com/v2fly/v2ray-core/issues/92#issuecomment-673238489
|
||||
|
||||
@@ -3,8 +3,8 @@ package strmatcher_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/v2fly/v2ray-core/v4/common"
|
||||
. "github.com/v2fly/v2ray-core/v4/common/strmatcher"
|
||||
"github.com/v2fly/v2ray-core/v5/common"
|
||||
. "github.com/v2fly/v2ray-core/v5/common/strmatcher"
|
||||
)
|
||||
|
||||
func TestACAutomatonMatcherGroup(t *testing.T) {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
. "github.com/v2fly/v2ray-core/v4/common/strmatcher"
|
||||
. "github.com/v2fly/v2ray-core/v5/common/strmatcher"
|
||||
)
|
||||
|
||||
func TestDomainMatcherGroup(t *testing.T) {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
. "github.com/v2fly/v2ray-core/v4/common/strmatcher"
|
||||
. "github.com/v2fly/v2ray-core/v5/common/strmatcher"
|
||||
)
|
||||
|
||||
func TestFullMatcherGroup(t *testing.T) {
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/v2fly/v2ray-core/v4/common"
|
||||
. "github.com/v2fly/v2ray-core/v4/common/strmatcher"
|
||||
"github.com/v2fly/v2ray-core/v5/common"
|
||||
. "github.com/v2fly/v2ray-core/v5/common/strmatcher"
|
||||
)
|
||||
|
||||
func TestMphMatcherGroup(t *testing.T) {
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/v2fly/v2ray-core/v4/common"
|
||||
. "github.com/v2fly/v2ray-core/v4/common/strmatcher"
|
||||
"github.com/v2fly/v2ray-core/v5/common"
|
||||
. "github.com/v2fly/v2ray-core/v5/common/strmatcher"
|
||||
)
|
||||
|
||||
func TestSimpleMatcherGroup(t *testing.T) {
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/v2fly/v2ray-core/v4/common"
|
||||
. "github.com/v2fly/v2ray-core/v4/common/strmatcher"
|
||||
"github.com/v2fly/v2ray-core/v5/common"
|
||||
. "github.com/v2fly/v2ray-core/v5/common/strmatcher"
|
||||
)
|
||||
|
||||
func TestSubstrMatcherGroup(t *testing.T) {
|
||||
|
||||
@@ -3,8 +3,8 @@ package strmatcher_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/v2fly/v2ray-core/v4/common"
|
||||
. "github.com/v2fly/v2ray-core/v4/common/strmatcher"
|
||||
"github.com/v2fly/v2ray-core/v5/common"
|
||||
. "github.com/v2fly/v2ray-core/v5/common/strmatcher"
|
||||
)
|
||||
|
||||
func TestMatcher(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user