mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +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
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "syncback_encoded_names",
|
||||
"tree": {
|
||||
"$className": "DataModel",
|
||||
"ReplicatedStorage": {
|
||||
"$className": "ReplicatedStorage",
|
||||
"$path": "src"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
-- Script with encoded : in name
|
||||
print("encoded script")
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
-- Normal module without encoded chars
|
||||
return { normal = true }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"className": "Configuration",
|
||||
"properties": {
|
||||
"Name": "What?Model"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
-- Module with encoded ? in name
|
||||
return { encoded = true }
|
||||
Loading…
Add table
Add a link
Reference in a new issue