mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 20:55:50 +00:00
Add CSV snapshot test
This commit is contained in:
6
rojo-test/build-tests/csv_in_folder/default.project.json
Normal file
6
rojo-test/build-tests/csv_in_folder/default.project.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "csv_in_folder",
|
||||
"tree": {
|
||||
"$path": "folder"
|
||||
}
|
||||
}
|
||||
2
rojo-test/build-tests/csv_in_folder/folder/normal.csv
Normal file
2
rojo-test/build-tests/csv_in_folder/folder/normal.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
Key,Source,Context,Example,es
|
||||
Ack,Ack!,,An exclamation of despair,¡Ay!
|
||||
|
@@ -22,6 +22,7 @@ macro_rules! gen_build_tests {
|
||||
|
||||
gen_build_tests! {
|
||||
client_in_folder,
|
||||
csv_in_folder,
|
||||
gitkeep,
|
||||
module_in_folder,
|
||||
rbxm_in_folder,
|
||||
|
||||
19
rojo-test/src/snapshots/build_test__csv_in_folder.snap
Normal file
19
rojo-test/src/snapshots/build_test__csv_in_folder.snap
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
created: "2019-08-14T22:34:06.206495600Z"
|
||||
creator: insta@0.10.0
|
||||
source: rojo-test/src/build_test.rs
|
||||
expression: contents
|
||||
---
|
||||
<roblox version="4">
|
||||
<Item class="Folder" referent="0">
|
||||
<Properties>
|
||||
<string name="Name">csv_in_folder</string>
|
||||
</Properties>
|
||||
<Item class="LocalizationTable" referent="1">
|
||||
<Properties>
|
||||
<string name="Name">normal</string>
|
||||
<string name="Contents">[{"key":"Ack","example":"An exclamation of despair","source":"Ack!","values":{"es":"¡Ay!"}}]</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</roblox>
|
||||
Reference in New Issue
Block a user