Skip to content

Commit

Permalink
Ignore tests that depend on endianess
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Oct 9, 2023
1 parent 1092c66 commit d4f5e8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ mod test {
use crate::PathBuf;

#[test]
#[cfg(target_endian = "little")]
fn canonicalizes_git_urls() {
let super::UrlDir { dir_name, canonical } = url_to_local_dir("git+https://github.com/EmbarkStudios/cpal.git?rev=d59b4de#d59b4decf72a96932a1482cc27fe4c0b50c40d32").unwrap();

Expand Down Expand Up @@ -321,6 +322,7 @@ mod test {
}

#[test]
#[cfg(target_endian = "little")]
fn matches_cargo() {
assert_eq!(
get_index_details(crate::CRATES_IO_INDEX, Some(PathBuf::new())).unwrap(),
Expand Down

0 comments on commit d4f5e8e

Please sign in to comment.