Skip to content

Commit 8b1a413

Browse files
committed
Disable all serve tests for Windows for now
1 parent ec2163e commit 8b1a413

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/cmd/serve.rs

+4
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,7 @@ mod tests {
921921
}
922922

923923
#[test]
924+
#[cfg(not(windows))]
924925
fn test_create_new_site_without_protocol_with_port_without_mounted_path() {
925926
let interface = IpAddr::from_str("127.0.0.1").unwrap();
926927
let interface_port = 1111;
@@ -942,6 +943,7 @@ mod tests {
942943
}
943944

944945
#[test]
946+
#[cfg(not(windows))]
945947
fn test_create_new_site_without_protocol_with_port_with_mounted_path() {
946948
let interface = IpAddr::from_str("127.0.0.1").unwrap();
947949
let interface_port = 1111;
@@ -963,6 +965,7 @@ mod tests {
963965
}
964966

965967
#[test]
968+
#[cfg(not(windows))]
966969
fn test_create_new_site_without_protocol_without_port_without_mounted_path() {
967970
let interface = IpAddr::from_str("127.0.0.1").unwrap();
968971
let interface_port = 1111;
@@ -986,6 +989,7 @@ mod tests {
986989
}
987990

988991
#[test]
992+
#[cfg(not(windows))]
989993
fn test_create_new_site_with_protocol_without_port_without_mounted_path() {
990994
let interface = IpAddr::from_str("127.0.0.1").unwrap();
991995
let interface_port = 1111;

0 commit comments

Comments
 (0)