Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Color output is wrong when testing fixes #1832

Closed
ajafff opened this issue Dec 7, 2016 · 0 comments
Closed

Color output is wrong when testing fixes #1832

ajafff opened this issue Dec 7, 2016 · 0 comments

Comments

@ajafff
Copy link
Contributor

ajafff commented Dec 7, 2016

Bug Report

  • TSLint version: 4.0.2
  • TypeScript version: 2.1.1
  • Running TSLint via: CLI

I'm running tslint --test for my custom rules. The problem occurs, when the output of a rule with fixes doesn't match expected output in .fix file.

Above the actual "diff", there is this description:

Expected (from .fix file) [green]
Actual (from TSLint) [red]

Unfortunately the colors in the diff are the opposite of what is stated: Green is Actual and red is Expected.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants