Skip to content

Commit b2afb1d

Browse files
committed
tests/executable.rs: avoid the new test on Windows
I've tried a few different things but can't actually figure out how to get the backslashes to come through correctly right now. The bug in question shouldn't have any interesting platform dependence so just skip the test on Windows.
1 parent a3ac423 commit b2afb1d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/executable.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,12 @@ a
420420
///
421421
/// We need to create a separate temporary directory to see if the abspath input
422422
/// gets messed up.
423+
///
424+
/// Backslashes in Windows paths mess up our naive test. I can't figure out how
425+
/// to get them to work here (admittedly, not trying too hard) so I'm just
426+
/// skipping this test on that platform.
423427
#[test]
428+
#[cfg(not(windows))]
424429
fn biber_issue_844() {
425430
let temp_source = setup_and_copy_files(&[]);
426431
let mut bibpath = std::fs::canonicalize(temp_source.path()).unwrap();

0 commit comments

Comments
 (0)