Improve formatting of generated test code input

Summary: Make input html easier to read by indenting it and adding a space between children. The code to do this could very well be improved but it works for the current set of inputs.

Reviewed By: lucasr

Differential Revision: D3798087

fbshipit-source-id: 0d50ff276000f14ed078cf5ce2e7560ace285a6a
This commit is contained in:
Emil Sjolander
2016-08-31 11:07:26 -07:00
committed by Facebook Github Bot 5
parent 57725e849a
commit 059384f277
10 changed files with 157 additions and 108 deletions

View File

@@ -11,16 +11,19 @@
* @Generated by gentest/gentest.sh with the following input
*
* <div id="align_self_center" style="width:100px; height: 100px;">
* <div style="height: 10px; width: 10px; align-self: center;"></div>
* <div style="height: 10px; width: 10px; align-self: center;"></div>
* </div>
*
* <div id="align_self_flex_end" style="width:100px; height: 100px;">
* <div style="height: 10px; width: 10px; align-self: flex-end;"></div>
* <div style="height: 10px; width: 10px; align-self: flex-end;"></div>
* </div>
*
* <div id="align_self_flex_start" style="width:100px; height: 100px;">
* <div style="height: 10px; width: 10px; align-self: flex-start;"></div>
* <div style="height: 10px; width: 10px; align-self: flex-start;"></div>
* </div>
*
* <div id="align_self_flex_end_override_flex_start" style="width:100px; height: 100px; align-items: flex-start;">
* <div style="height: 10px; width: 10px; align-self: flex-end;"></div>
* <div style="height: 10px; width: 10px; align-self: flex-end;"></div>
* </div>
*
*/