Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
XOR-op committed Oct 18, 2023
1 parent 30af2c2 commit dac1603
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions boltconn/src/dispatch/ruleset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ fn test_rule_provider() {
domain_name: "kb.apple.com".to_string(),
port: 1234,
},
local_ip: "192.168.1.2".parse().unwrap(),
local_ip: Some("192.168.1.2".parse().unwrap()),
inbound: InboundInfo::Tun,
resolved_dst: None,
connection_type: NetworkType::Tcp,
Expand All @@ -441,7 +441,7 @@ fn test_rule_provider() {
domain_name: "apple.com".to_string(),
port: 1234,
},
local_ip: "192.168.1.2".parse().unwrap(),
local_ip: Some("192.168.1.2".parse().unwrap()),
inbound: InboundInfo::Tun,
resolved_dst: None,
connection_type: NetworkType::Tcp,
Expand All @@ -454,7 +454,7 @@ fn test_rule_provider() {
domain_name: "icloud.com.akadns.net.com".to_string(),
port: 1234,
},
local_ip: "192.168.1.2".parse().unwrap(),
local_ip: Some("192.168.1.2".parse().unwrap()),
inbound: InboundInfo::Tun,
resolved_dst: None,
connection_type: NetworkType::Tcp,
Expand All @@ -467,7 +467,7 @@ fn test_rule_provider() {
domain_name: "apple.io".to_string(),
port: 1234,
},
local_ip: "192.168.1.2".parse().unwrap(),
local_ip: Some("192.168.1.2".parse().unwrap()),
inbound: InboundInfo::Tun,
resolved_dst: None,
connection_type: NetworkType::Tcp,
Expand Down

0 comments on commit dac1603

Please sign in to comment.