File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,22 +42,22 @@ impl Function for SplitPath {
4242 & [
4343 Example {
4444 title : "Split path with trailing slash" ,
45- source : r#"split_path! ("/home/user/")"# ,
45+ source : r#"split_path("/home/user/")"# ,
4646 result : Ok ( r#"["/", "home", "user"]"# ) ,
4747 } ,
4848 Example {
4949 title : "Split path from file path" ,
50- source : r#"split_path! ("/home/user")"# ,
50+ source : r#"split_path("/home/user")"# ,
5151 result : Ok ( r#"["/", "home", "user"]"# ) ,
5252 } ,
5353 Example {
5454 title : "Split path from root" ,
55- source : r#"split_path! ("/")"# ,
55+ source : r#"split_path("/")"# ,
5656 result : Ok ( r#"["/"]"# ) ,
5757 } ,
5858 Example {
5959 title : "Empty path returns empty array" ,
60- source : r#"split_path! ("")"# ,
60+ source : r#"split_path("")"# ,
6161 result : Ok ( "[]" ) ,
6262 } ,
6363 ]
You can’t perform that action at this time.
0 commit comments