Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

test: ignore windows remapping tests #2361

Merged
merged 1 commit into from
Apr 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ethers-solc/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ mod tests {
}

#[test]
#[cfg_attr(windows, ignore = "Windows remappings #2347")]
fn can_find_library_ancestor() {
let mut config = ProjectPathsConfig::builder().lib("lib").build().unwrap();
config.root = "/root/".into();
Expand Down
7 changes: 7 additions & 0 deletions ethers-solc/src/remappings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ mod tests {
}

#[test]
#[cfg_attr(windows, ignore = "Windows remappings #2347")]
fn find_remapping_dapptools() {
let tmp_dir = tempdir("lib").unwrap();
let tmp_dir_path = tmp_dir.path();
Expand All @@ -821,6 +822,7 @@ mod tests {
}

#[test]
#[cfg_attr(windows, ignore = "Windows remappings #2347")]
fn can_resolve_contract_dir_combinations() {
let tmp_dir = tempdir("demo").unwrap();
let paths =
Expand All @@ -837,6 +839,7 @@ mod tests {
}

#[test]
#[cfg_attr(windows, ignore = "Windows remappings #2347")]
fn can_resolve_geb_remappings() {
let tmp_dir = tempdir("geb").unwrap();
let paths = [
Expand Down Expand Up @@ -1050,6 +1053,7 @@ mod tests {
}

#[test]
#[cfg_attr(windows, ignore = "Windows remappings #2347")]
fn recursive_remappings() {
let tmp_dir = tempdir("lib").unwrap();
let tmp_dir_path = tmp_dir.path();
Expand Down Expand Up @@ -1151,6 +1155,7 @@ mod tests {
}

#[test]
#[cfg_attr(windows, ignore = "Windows remappings #2347")]
fn simple_dapptools_remappings() {
let tmp_dir = tempdir("lib").unwrap();
let tmp_dir_path = tmp_dir.path();
Expand Down Expand Up @@ -1189,6 +1194,7 @@ mod tests {
}

#[test]
#[cfg_attr(windows, ignore = "Windows remappings #2347")]
fn hardhat_remappings() {
let tmp_dir = tempdir("node_modules").unwrap();
let tmp_dir_node_modules = tmp_dir.path().join("node_modules");
Expand Down Expand Up @@ -1245,6 +1251,7 @@ mod tests {
}

#[test]
#[cfg_attr(windows, ignore = "Windows remappings #2347")]
fn find_openzeppelin_remapping() {
let tmp_dir = tempdir("lib").unwrap();
let tmp_dir_path = tmp_dir.path();
Expand Down