Run tests on Github Actions
This commit is contained in:
parent
1907b11545
commit
17af030893
6 changed files with 38 additions and 44 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use fehler::throws;
|
||||
use std::io::Error;
|
||||
use std::net::{Ipv4Addr};
|
||||
use std::net::Ipv4Addr;
|
||||
use tun::TunInterface;
|
||||
|
||||
#[test]
|
||||
|
|
@ -26,6 +26,8 @@ fn test_set_get_ipv4() {
|
|||
#[throws]
|
||||
#[cfg(not(any(target_os = "windows", target_vendor = "apple")))]
|
||||
fn test_set_get_ipv6() {
|
||||
use std::net::Ipv6Addr;
|
||||
|
||||
let tun = TunInterface::new()?;
|
||||
|
||||
let addr = Ipv6Addr::new(1, 1, 1, 1, 1, 1, 1, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue