Skip to content

Commit

Permalink
Fixes jasmine#296, Whitespace failures will now be esier to understand.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornblomqvist committed Feb 26, 2013
1 parent e682d18 commit e6888b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/jasmine-core/jasmine.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ body { background-color: #eeeeee; padding: 0; margin: 5px; overflow-y: scroll; }
.html-reporter .suite a { color: #333333; }
.html-reporter .failures .spec-detail { margin-bottom: 28px; }
.html-reporter .failures .spec-detail .description { display: block; color: white; background-color: #b03911; }
.html-reporter .result-message { padding-top: 14px; color: #333333; }
.html-reporter .result-message { padding-top: 14px; color: #333333; white-space: pre; }
.html-reporter .result-message span.result { display: block; }
.html-reporter .stack-trace { margin: 5px 0 0 0; max-height: 224px; overflow: auto; line-height: 18px; color: #666666; border: 1px solid #ddd; background: white; white-space: pre; }
.html-reporter .stack-trace { margin: 5px 0 0 0; max-height: 224px; overflow: auto; line-height: 18px; color: #666666; border: 1px solid #dddddd; background: white; white-space: pre; }
2 changes: 2 additions & 0 deletions src/html/_HTMLReporter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ body {
padding-top: $line-height;

color: $text-color;

white-space: pre;
}

.result-message span.result {
Expand Down
4 changes: 2 additions & 2 deletions src/html/jasmine.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ body { background-color: #eeeeee; padding: 0; margin: 5px; overflow-y: scroll; }
.html-reporter .suite a { color: #333333; }
.html-reporter .failures .spec-detail { margin-bottom: 28px; }
.html-reporter .failures .spec-detail .description { display: block; color: white; background-color: #b03911; }
.html-reporter .result-message { padding-top: 14px; color: #333333; }
.html-reporter .result-message { padding-top: 14px; color: #333333; white-space: pre; }
.html-reporter .result-message span.result { display: block; }
.html-reporter .stack-trace { margin: 5px 0 0 0; max-height: 224px; overflow: auto; line-height: 18px; color: #666666; border: 1px solid #ddd; background: white; white-space: pre; }
.html-reporter .stack-trace { margin: 5px 0 0 0; max-height: 224px; overflow: auto; line-height: 18px; color: #666666; border: 1px solid #dddddd; background: white; white-space: pre; }

0 comments on commit e6888b8

Please sign in to comment.