mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -05:00
fix test failed on logger position
This commit is contained in:
parent
c94f5f66a6
commit
47a5c970fc
@ -138,9 +138,6 @@ func TestV2RayConfig(t *testing.T) {
|
||||
Parser: createParser(),
|
||||
Output: &core.Config{
|
||||
App: []*serial.TypedMessage{
|
||||
serial.ToTypedMessage(&dispatcher.Config{}),
|
||||
serial.ToTypedMessage(&proxyman.InboundConfig{}),
|
||||
serial.ToTypedMessage(&proxyman.OutboundConfig{}),
|
||||
serial.ToTypedMessage(&log.Config{
|
||||
ErrorLogType: log.LogType_File,
|
||||
ErrorLogPath: "/var/log/v2ray/error.log",
|
||||
@ -148,6 +145,9 @@ func TestV2RayConfig(t *testing.T) {
|
||||
AccessLogType: log.LogType_File,
|
||||
AccessLogPath: "/var/log/v2ray/access.log",
|
||||
}),
|
||||
serial.ToTypedMessage(&dispatcher.Config{}),
|
||||
serial.ToTypedMessage(&proxyman.InboundConfig{}),
|
||||
serial.ToTypedMessage(&proxyman.OutboundConfig{}),
|
||||
serial.ToTypedMessage(&router.Config{
|
||||
DomainStrategy: router.Config_AsIs,
|
||||
Rule: []*router.RoutingRule{
|
||||
|
Loading…
Reference in New Issue
Block a user