diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-02-28 15:37:34 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-02-28 15:37:34 +0100 |
| commit | 40f47e0ecf10c60687edbdcc5e2ad3999547ea74 (patch) | |
| tree | c0da9e552109353a67193c949bbd8c2b8f8d2d68 | |
| parent | 3b0e1c8ab01170f457965e10c72ad83e75afd7f1 (diff) | |
| download | mullvadvpn-40f47e0ecf10c60687edbdcc5e2ad3999547ea74.tar.xz mullvadvpn-40f47e0ecf10c60687edbdcc5e2ad3999547ea74.zip | |
Fix small bug in test
| -rw-r--r-- | talpid_openvpn_plugin/src/ffi/consts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid_openvpn_plugin/src/ffi/consts.rs b/talpid_openvpn_plugin/src/ffi/consts.rs index edf04d0a61..81fe134b9e 100644 --- a/talpid_openvpn_plugin/src/ffi/consts.rs +++ b/talpid_openvpn_plugin/src/ffi/consts.rs @@ -66,7 +66,7 @@ mod tests { #[test] fn from_int_all_valid() { for i in 0..13 { - if OpenVpnPluginEvent::from_int(0).is_err() { + if OpenVpnPluginEvent::from_int(i).is_err() { panic!("{} not covered", i); } } |
