mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 14:15:24 +00:00
Fix Lua snapshot code to work with children.
It's also way easier to read now
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user