mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-10 02:21:33 -10:00
Tests: the parity-reach fixture names files the way the tool does
narrow() and its graph key files by Posix path (`crates/a/src/used.rs`), so a fixture built from str(relative_to) on Windows produced backslashes and all seven tests errored in setUp. as_posix() in the fixture matches the tool. Co-Authored-By: Hermes Agent (Nous Research) <[email protected]>
This commit is contained in:
1 parent
b6c936f82b
commit
aef4186de4
1 file changed
+1
-1
@@ -60,7 +60,7 @@ class ReachTests(unittest.TestCase):
|
||||
pub fn main() { println!("{} {} {}", helper(), Thing.method(), Thing); }
|
||||
""",
|
||||
})
|
||||
self.dependencies = sorted(str(path.relative_to(self.root)) for path in self.root.rglob("*") if path.is_file())
|
||||
self.dependencies = sorted(path.relative_to(self.root).as_posix() for path in self.root.rglob("*") if path.is_file())
|
||||
self.dependencies.remove("crates/a/examples/probe/main.rs") # parity.only_probes_run leaves it out
|
||||
|
||||
def tearDown(self):
|
||||
|
||||
Reference in new issue
Block a user