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

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

Loading…
Cancel
Save