Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing final CRLF after progress reporter finishes #162

Closed
bkimminich opened this issue Oct 7, 2016 · 2 comments
Closed

Missing final CRLF after progress reporter finishes #162

bkimminich opened this issue Oct 7, 2016 · 2 comments
Assignees
Labels
👶 Good first issue Good for newcomers

Comments

@bkimminich
Copy link

A small cosmetic bug that happens when using reporter: ['html', 'progress']:

image

The clear-text reporter does an initial CRLF on the sysout using this helper method:

private writeLine(output?: string) {
    this.out.write(`${output || ''}\n`);
  }

That's why it doesn't happen when using clear-text together with progress:

image

@nicojs
Copy link
Member

nicojs commented Oct 7, 2016

I think the easiest way to fix this is to add this method to add this method to the ProgressReporter

onAllMutantsTested(): void { 
   console.log();
}

Not sure if this would help in all situations though.

@nicojs
Copy link
Member

nicojs commented Dec 29, 2016

Merged into the master brache, will be released later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👶 Good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants