mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix Lua snapshot code to work with children.
It's also way easier to read now
This commit is contained in:
parent
0f530b7e80
commit
2fb2342fd4
5 changed files with 111 additions and 56 deletions
|
|
@ -24,6 +24,7 @@ gen_build_tests! {
|
|||
csv_in_folder,
|
||||
deep_nesting,
|
||||
gitkeep,
|
||||
init_with_children,
|
||||
json_model_in_folder,
|
||||
json_model_legacy_name,
|
||||
module_in_folder,
|
||||
|
|
|
|||
20
rojo-test/src/snapshots/build_test__init_with_children.snap
Normal file
20
rojo-test/src/snapshots/build_test__init_with_children.snap
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
created: "2019-08-30T00:12:56.686707700Z"
|
||||
creator: insta@0.10.1
|
||||
source: rojo-test/src/build_test.rs
|
||||
expression: contents
|
||||
---
|
||||
<roblox version="4">
|
||||
<Item class="ModuleScript" referent="0">
|
||||
<Properties>
|
||||
<string name="Name">init_with_children</string>
|
||||
<string name="Source">-- init.lua</string>
|
||||
</Properties>
|
||||
<Item class="ModuleScript" referent="1">
|
||||
<Properties>
|
||||
<string name="Name">other</string>
|
||||
<string name="Source">-- other.lua</string>
|
||||
</Properties>
|
||||
</Item>
|
||||
</Item>
|
||||
</roblox>
|
||||
Loading…
Add table
Add a link
Reference in a new issue