Fixes newline spacing for tests

pull/206/head
Josh Asplund 7 years ago
parent 0c1c5c9fdd
commit 45a8c47a10
  1. 2
      mythril/analysis/templates/report_as_markdown.jinja2
  2. 3
      mythril/analysis/templates/report_as_text.jinja2

@ -12,7 +12,6 @@
### Description
{{ issue.description }}
{% if issue.filename and issue.lineno -%}
In file: {{ issue.filename }}:{{ issue.lineno }}
{%- endif -%}
@ -30,7 +29,6 @@ In file: {{ issue.filename }}:{{ issue.lineno }}
{{ issue.debug }}
{%- endif %}
{% endfor -%}
{%- else -%}
The analysis was completed successfully. No issues were detected.

@ -10,7 +10,8 @@ PC address: {{ issue.address }}
{% if issue.filename and issue.lineno -%}
In file: {{ issue.filename }}:{{ issue.lineno }}
{%- endif %}
{% if issue.code %}
{%- if issue.code %}
{{ issue.code }}
--------------------

Loading…
Cancel
Save