Skip to content

Commit 7aaa421

Browse files
committed
More tests
1 parent 5de901b commit 7aaa421

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/test.rs

+14
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,22 @@ mod tests {
99
host: "127.0.0.1".to_string(),
1010
port: 61000,
1111
bypass: "".to_string(),
12+
protocol: rustem_proxy::Protocol::SOCKS,
13+
});
14+
SystemProxy::set(SystemProxy {
15+
is_enabled: true,
16+
host: "127.0.0.1".to_string(),
17+
port: 61001,
18+
bypass: "".to_string(),
1219
protocol: rustem_proxy::Protocol::HTTP,
1320
});
21+
SystemProxy::set(SystemProxy {
22+
is_enabled: true,
23+
host: "127.0.0.1".to_string(),
24+
port: 61001,
25+
bypass: "".to_string(),
26+
protocol: rustem_proxy::Protocol::HTTPS,
27+
});
1428

1529
assert!(true);
1630
}

0 commit comments

Comments
 (0)