Add CSV snapshot test

This commit is contained in:
Lucien Greathouse
2019-08-14 15:34:25 -07:00
parent b84cb93d2c
commit cc34c36794
4 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{
"name": "csv_in_folder",
"tree": {
"$path": "folder"
}
}

View File

@@ -0,0 +1,2 @@
Key,Source,Context,Example,es
Ack,Ack!,,An exclamation of despair,¡Ay!
1 Key Source Context Example es
2 Ack Ack! An exclamation of despair ¡Ay!

View File

@@ -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,

View 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>