Skip to content

Commit

Permalink
master: Improved Output formatting and colorization
Browse files Browse the repository at this point in the history
  • Loading branch information
Mate Pek committed Nov 24, 2021
1 parent 2a9fb7c commit fdde167
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

- Improved Output formatting and colorization

## [4.0.5]

## [4.0.4] - 2021-11-23

### Fixed
Expand Down
4 changes: 3 additions & 1 deletion src/framework/GoogleTestExecutable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,9 @@ class TestCaseProcessor implements LineProcessor {

this.testCaseShared.builder.addOutputLine(
1,
ansi.gray(failureMatch[1]) + failureMatch[4] + ansi.red(failureMatch[6]) + failureMatch[7],
ansi.red(failureMatch[6]) +
failureMatch[7] +
TestResultBuilder.getLocationAtStr(failureMatch[2], failureMatch[3]),
);

switch (type) {
Expand Down

0 comments on commit fdde167

Please sign in to comment.