1 2 3 4 5 6 7
use algorithmz::stack::simplify_path; #[test] fn test_simplify_path() { let result = simplify_path("/a/./b/../../c/"); assert_eq!(result, String::from("/c")); }