mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make all platforms use a delay during cookie tests. (#33279)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
12a782dc20
commit
a62612a025
1 changed files with 0 additions and 4 deletions
|
@ -165,7 +165,6 @@ fn test_cookie_host_prefix() {
|
|||
assert!(ServoCookie::new_wrapped(cookie, url, CookieSource::HTTP).is_some());
|
||||
}
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
fn delay_to_ensure_different_timestamp() {
|
||||
use std::thread;
|
||||
use std::time::Duration;
|
||||
|
@ -175,9 +174,6 @@ fn delay_to_ensure_different_timestamp() {
|
|||
thread::sleep(Duration::from_millis(500));
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
fn delay_to_ensure_different_timestamp() {}
|
||||
|
||||
#[test]
|
||||
fn test_sort_order() {
|
||||
use std::cmp::Ordering;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue