diff options
| author | David Lönnhager <david.l@mullvad.net> | 2024-10-31 09:33:00 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2024-11-01 10:16:26 +0100 |
| commit | b1b757e1752e3868bc2b65735b59d19648beb20d (patch) | |
| tree | 98469b1ab101221618702d657e6e021e6b720814 | |
| parent | e718179f768970b0b150a1f47471c8667da5c50f (diff) | |
| download | mullvadvpn-b1b757e1752e3868bc2b65735b59d19648beb20d.tar.xz mullvadvpn-b1b757e1752e3868bc2b65735b59d19648beb20d.zip | |
Document purpose of tests
| -rw-r--r-- | talpid-wireguard/src/wireguard_go/mod.rs | 2 | ||||
| -rw-r--r-- | talpid-wireguard/src/wireguard_nt/daita.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/talpid-wireguard/src/wireguard_go/mod.rs b/talpid-wireguard/src/wireguard_go/mod.rs index 108b54d15f..f9a062f3c8 100644 --- a/talpid-wireguard/src/wireguard_go/mod.rs +++ b/talpid-wireguard/src/wireguard_go/mod.rs @@ -248,6 +248,8 @@ fn load_maybenot_machines(resource_dir: &Path) -> Result<CString> { #[cfg(test)] mod test { + /// Test whether `maybenot_machines` in dist-assets contains valid machines. + /// TODO: Remove when switching to dynamic machines. #[cfg(daita)] #[test] fn test_load_maybenot_machines() { diff --git a/talpid-wireguard/src/wireguard_nt/daita.rs b/talpid-wireguard/src/wireguard_nt/daita.rs index 06129746fd..135ea9a2fd 100644 --- a/talpid-wireguard/src/wireguard_nt/daita.rs +++ b/talpid-wireguard/src/wireguard_nt/daita.rs @@ -465,6 +465,8 @@ mod test { use super::load_maybenot_machines; use std::path::PathBuf; + /// Test whether `maybenot_machines` in dist-assets contains valid machines. + /// TODO: Remove when switching to dynamic machines. #[test] fn test_load_maybenot_machines() { let dist_assets = std::env::var("CARGO_MANIFEST_DIR") |
