1
0
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:
Shelikhoo
2022-01-02 15:16:23 +00:00
parent 9f0d7e7f40
commit 3ef7feaeaf
809 changed files with 2669 additions and 2641 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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) {