mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Use pre element for stack traces
This commit is contained in:
parent
91bd852812
commit
89b240cd4f
@ -230,7 +230,7 @@ class SpecResultView extends View
|
||||
stackTrace = formatStackTrace(result.message, result.trace.stack)
|
||||
@specFailures.append $$ ->
|
||||
@div result.message, class: 'result-message fail'
|
||||
@div stackTrace, class: 'stack-trace padded' if stackTrace
|
||||
@pre stackTrace, class: 'stack-trace padded' if stackTrace
|
||||
|
||||
attach: ->
|
||||
@parentSuiteView().append this
|
||||
|
Loading…
Reference in New Issue
Block a user