Skip to content

Commit

Permalink
Filesystem: allow URI test failure on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aschampion committed Dec 6, 2022
1 parent 97562f9 commit 6b924d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/filesystem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,11 @@ mod tests {
}

#[test]
// TODO: this test is ignored on windows because the dataset path in the returned URI still includes the unix slash.
// This will be fixed by parsing dataset paths as unix paths in `get_path`, then translating to platform-native
// `PathBuf`s. However, the only way to do this at the moment with the `typed_paths` crate depends on unstable
// features. See also rust issue #66621.
#[cfg_attr(windows, ignore)]
fn test_get_block_uri() {
let dir = TempDir::new("rust_n5_tests").unwrap();
let path_str = dir.path().to_str().unwrap();
Expand Down

0 comments on commit 6b924d9

Please sign in to comment.