Fix Windows CI: use ends_with for FakeFs paths, add cfg gate on import
Richard Feldman
created
FakeFs on Windows prefixes paths with C:\, so exact path comparisons
in test assertions fail. Use ends_with instead.
Also add missing #[cfg(feature = "test-support")] gate on the
FakeGitRepositoryState import in fs.rs which broke check_docs.
@@ -55,6 +55,7 @@ mod fake_git_repo;
use collections::{BTreeMap, btree_map};
#[cfg(feature = "test-support")]
pub use fake_git_repo::FakeCommitSnapshot;
+#[cfg(feature = "test-support")]
use fake_git_repo::FakeGitRepositoryState;
#[cfg(feature = "test-support")]
use git::{