windows: the not-ported test names WARP, now that Tor is there
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
40221e7981
commit
ed2159f7b6
1 file changed
+2
-2
@@ -793,11 +793,11 @@ mod tests {
|
||||
assert!(quiet.is_empty(), "{quiet:?}");
|
||||
let mut cfg = Config::default();
|
||||
cfg.kill_switch.enable = true;
|
||||
cfg.tor.enable = true;
|
||||
cfg.warp.enable = true;
|
||||
cfg.zapret.enable = true;
|
||||
cfg.proxy.tun.enable = true;
|
||||
let paths: Vec<String> = validate(&cfg).into_iter().filter(|i| i.severity == Severity::Warning && i.message.contains("Windows yet")).map(|i| i.path).collect();
|
||||
for want in ["killSwitch.enable", "tor.enable", "proxy.tun.enable"] {
|
||||
for want in ["killSwitch.enable", "warp.enable", "proxy.tun.enable"] {
|
||||
assert!(paths.iter().any(|p| p == want), "{want} not in {paths:?}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user