MCPcopy Create free account
hub / github.com/AI45Lab/Code / virtual_resolver_normalizes_backslash_separators

Function virtual_resolver_normalizes_backslash_separators

core/src/workspace/mod.rs:982–986  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

980
981 #[test]
982 fn virtual_resolver_normalizes_backslash_separators() {
983 let resolver = VirtualPathResolver;
984 let path = resolver.normalize(r"src\main.rs").unwrap();
985 assert_eq!(path.as_str(), "src/main.rs");
986 }
987
988 #[test]
989 fn virtual_resolver_rejects_escape() {

Callers

nothing calls this directly

Calls 1

normalizeMethod · 0.45

Tested by

no test coverage detected