Build a URI for a fixture file path.
(path: &str)
| 370 | |
| 371 | /// Build a URI for a fixture file path. |
| 372 | fn file_uri(path: &str) -> Url { |
| 373 | Url::parse(&format!("file:///{path}")) |
| 374 | .unwrap_or_else(|_| Url::parse("file:///test.php").unwrap()) |
| 375 | } |
| 376 | |
| 377 | /// Open all fixture files on the backend via the public `did_open` LSP method. |
| 378 | /// Returns the URI of the cursor file. |