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,18 +11,21 @@
* @Generated by gentest/gentest.sh with the following input
*
* <div id="max_width" style="width: 100px; height: 100px;">
* <div style="height: 10px; max-width: 50px;"></div>
* <div style="height: 10px; max-width: 50px;"></div>
* </div>
*
* <div id="max_height" style="width: 100px; height: 100px; flex-direction: row;">
* <div style="width: 10px; max-height: 50px;"></div>
* <div style="width: 10px; max-height: 50px;"></div>
* </div>
*
* <div id="min_height" style="width: 100px; height: 100px;">
* <div style="flex-grow: 1; min-height: 60px;"></div>
* <div style="flex-grow: 1;"></div>
* <div style="flex-grow: 1; min-height: 60px;"></div>
* <div style="flex-grow: 1;"></div>
* </div>
*
* <div id="min_width" style="width: 100px; height: 100px; flex-direction: row">
* <div style="flex-grow: 1; min-width: 60px;"></div>
* <div style="flex-grow: 1;"></div>
* <div style="flex-grow: 1; min-width: 60px;"></div>
* <div style="flex-grow: 1;"></div>
* </div>
*
*/