ngneat / spectator

🦊 🚀 A Powerful Tool to Simplify Your Angular Tests
https://ngneat.github.io/spectator
MIT License
2.08k stars 177 forks source link

(fix): remove double space in matchers' messages #578

Closed rainerhahnekamp closed 2 years ago

rainerhahnekamp commented 2 years ago

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Matchers with exact argument have double spaces in their messages.

What is the new behavior?

Messages without "typos".

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

There were no tests, verifying the error messages. If you find it necessary I can add them, otherwise this is a rather simple PR.