Make generated test input more copy pastable

Summary: previously when copying in a test inout into an editor the user of gentest needed to remove the ` * ` prefix. This was annoying so this diff fixes that by removing that from gentest.

Reviewed By: lucasr

Differential Revision: D3862943

fbshipit-source-id: 06bd3ee3fa3f85cc44b6ea1d67cf3e91ed368791
This commit is contained in:
Emil Sjolander
2016-09-14 08:51:05 -07:00
committed by Facebook Github Bot 0
parent 64fffcb8f3
commit 8fcb265830
13 changed files with 311 additions and 294 deletions

View File

@@ -10,38 +10,47 @@
/**
* @Generated by gentest/gentest.sh with the following input
*
* <div id="margin_left" style="width: 100px; height: 100px; flex-direction: row;">
* <div style="width: 10px; margin-left: 10px;"></div>
* </div>
* <div id="margin_top" style="width: 100px; height: 100px;">
* <div style="height: 10px; margin-top: 10px;"></div>
* </div>
* <div id="margin_right" style="width: 100px; height: 100px; flex-direction: row; justify-content: flex-end;">
* <div style="width: 10px; margin-right: 10px;"></div>
* </div>
* <div id="margin_bottom" style="width: 100px; height: 100px; justify-content: flex-end;">
* <div style="height: 10px; margin-bottom: 10px;"></div>
* </div>
* <div id="margin_and_flex_row" style="width: 100px; height: 100px; flex-direction: row;">
* <div style="margin-left: 10px; margin-right; 10px; flex-grow: 1;"></div>
* </div>
* <div id="margin_and_flex_column" style="width: 100px; height: 100px;">
* <div style="margin-top: 10px; margin-bottom; 10px; flex-grow: 1;"></div>
* </div>
* <div id="margin_and_stretch_row" style="width: 100px; height: 100px; flex-direction: row;">
* <div style="margin-top: 10px; margin-bottom; 10px; flex-grow: 1;"></div>
* </div>
* <div id="margin_and_stretch_column" style="width: 100px; height: 100px;">
* <div style="margin-left: 10px; margin-right; 10px; flex-grow: 1;"></div>
* </div>
* <div id="margin_with_sibling_row" style="width: 100px; height: 100px; flex-direction: row;">
* <div style="margin-right; 10px; flex-grow: 1;"></div>
* <div style="flex-grow: 1;"></div>
* </div>
* <div id="margin_with_sibling_column" style="width: 100px; height: 100px;">
* <div style="margin-bottom; 10px; flex-grow: 1;"></div>
* <div style="flex-grow: 1;"></div>
* </div>
<div id="margin_left" style="width: 100px; height: 100px; flex-direction: row;">
<div style="width: 10px; margin-left: 10px;"></div>
</div>
<div id="margin_top" style="width: 100px; height: 100px;">
<div style="height: 10px; margin-top: 10px;"></div>
</div>
<div id="margin_right" style="width: 100px; height: 100px; flex-direction: row; justify-content: flex-end;">
<div style="width: 10px; margin-right: 10px;"></div>
</div>
<div id="margin_bottom" style="width: 100px; height: 100px; justify-content: flex-end;">
<div style="height: 10px; margin-bottom: 10px;"></div>
</div>
<div id="margin_and_flex_row" style="width: 100px; height: 100px; flex-direction: row;">
<div style="margin-left: 10px; margin-right; 10px; flex-grow: 1;"></div>
</div>
<div id="margin_and_flex_column" style="width: 100px; height: 100px;">
<div style="margin-top: 10px; margin-bottom; 10px; flex-grow: 1;"></div>
</div>
<div id="margin_and_stretch_row" style="width: 100px; height: 100px; flex-direction: row;">
<div style="margin-top: 10px; margin-bottom; 10px; flex-grow: 1;"></div>
</div>
<div id="margin_and_stretch_column" style="width: 100px; height: 100px;">
<div style="margin-left: 10px; margin-right; 10px; flex-grow: 1;"></div>
</div>
<div id="margin_with_sibling_row" style="width: 100px; height: 100px; flex-direction: row;">
<div style="margin-right; 10px; flex-grow: 1;"></div>
<div style="flex-grow: 1;"></div>
</div>
<div id="margin_with_sibling_column" style="width: 100px; height: 100px;">
<div style="margin-bottom; 10px; flex-grow: 1;"></div>
<div style="flex-grow: 1;"></div>
</div>
*
*/