Skip to content
Permalink
Browse files

Put browser specific tests in ignored list

  • Loading branch information...
amodm committed Apr 1, 2019
1 parent 6bc0bfa commit c15ed927f880e0f6a46cc24c413288e9c428643b
Showing with 21 additions and 2 deletions.
  1. +21 −2 src/lib.rs
@@ -329,7 +329,26 @@ fn test_open_default() {
}

#[test]
#[cfg(target_os = "macos")]
fn test_open_browser() {
#[ignore]
fn test_open_firefox() {
assert!(open_browser(Browser::Firefox, "http://github.com").is_ok());
}

#[test]
#[ignore]
fn test_open_chrome() {
assert!(open_browser(Browser::Chrome, "http://github.com").is_ok());
}

#[test]
#[ignore]
#[cfg(target_os = "windows")]
fn test_open_internet_explorer() {
assert!(open_browser(Browser::InternetExplorer, "http://github.com").is_ok());
}

#[test]
#[ignore]
fn test_open_safari() {
assert!(open_browser(Browser::Safari, "http://github.com").is_ok());
}

0 comments on commit c15ed92

Please sign in to comment.
You can’t perform that action at this time.