mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Add syncback_encoded_names fixture and related tests for encoded name handling
- Introduced a new fixture `syncback_encoded_names` with various scripts and models demonstrating encoded characters in names, including `What%QUESTION%Module` and `Key%COLON%Script`. - Added tests to validate the correct handling of encoded names during directory conversions, ensuring that the filesystem names match the expected encoded formats. - Updated `change_processor.rs` and `api.rs` to improve file handling and metadata management related to encoded names, enhancing overall robustness and consistency in operations.
This commit is contained in:
parent
1edca38c34
commit
9c92204956
8 changed files with 342 additions and 26 deletions
|
|
@ -702,8 +702,8 @@ impl JobThreadContext {
|
|||
.and_then(|s| s.to_str())
|
||||
.unwrap_or("");
|
||||
let known_suffixes = [
|
||||
".server", ".client", ".plugin",
|
||||
".local", ".legacy",
|
||||
".server", ".client", ".plugin", ".local",
|
||||
".legacy",
|
||||
];
|
||||
let base = known_suffixes
|
||||
.iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue